From: Victor Julien Date: Sat, 12 Mar 2016 09:32:54 +0000 (+0100) Subject: Fix compilation on systems with Musl X-Git-Tag: suricata-3.0.1RC1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91b9bf22b5768f4919bde1606fdc93ab75951fd;p=thirdparty%2Fsuricata.git Fix compilation on systems with Musl --- diff --git a/src/util-cpu.c b/src/util-cpu.c index f8f748bc70..9a5c25df13 100644 --- a/src/util-cpu.c +++ b/src/util-cpu.c @@ -23,9 +23,9 @@ * Retrieve CPU information (configured CPUs, online CPUs) */ +#include "suricata-common.h" #include "util-error.h" #include "util-debug.h" -#include "suricata-common.h" /** * Ok, if they should use sysconf, check that they have the macro's diff --git a/src/util-privs.c b/src/util-privs.c index 635247c3e5..e6e3d6c591 100644 --- a/src/util-privs.c +++ b/src/util-privs.c @@ -28,8 +28,8 @@ #include #include -#include "util-debug.h" #include "suricata-common.h" +#include "util-debug.h" #include "suricata.h" #ifdef HAVE_LIBCAP_NG