From 0ea73979aabdbf2ab26fc354479035485873a4e3 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 30 Jul 2015 22:26:48 +0200 Subject: [PATCH] eal: fix x32 build Compiling for dpdk x86_x32 gives the following error: In file included from /usr/include/sys/sysctl.h:63:0, from lib/librte_eal/common/eal_common_timer.c:39: /usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel" # error "sysctl system call is unsupported in x32 kernel" ^ Including sysctl.h was added by mistake when merging bsd and linux EAL timer code. It can be safely removed in this file, fixing the compilation. Fixes: 040cf8a411 ("eal: deduplicate timer functions") Signed-off-by: Olivier Matz Acked-by: Thomas Monjalon --- lib/librte_eal/common/eal_common_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_timer.c b/lib/librte_eal/common/eal_common_timer.c index 255f995879..72371b884c 100644 --- a/lib/librte_eal/common/eal_common_timer.c +++ b/lib/librte_eal/common/eal_common_timer.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #include -- 2.20.1