aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/odp_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-dpdk/odp_thread.c')
-rw-r--r--platform/linux-dpdk/odp_thread.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/linux-dpdk/odp_thread.c b/platform/linux-dpdk/odp_thread.c
index 4c5950cb6..d45a5bdbd 100644
--- a/platform/linux-dpdk/odp_thread.c
+++ b/platform/linux-dpdk/odp_thread.c
@@ -4,9 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
+#include <odp_posix_extensions.h>
#include <sched.h>
#include <odp/thread.h>