From: Olivier Matz Date: Thu, 30 Jul 2015 20:26:48 +0000 (+0200) Subject: eal: fix x32 build X-Git-Tag: spdx-start~8588 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0ea73979aabdbf2ab26fc354479035485873a4e3;p=dpdk.git 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 --- 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