*: make sure zebra.h is always included first
zebra.h pulls in config.h, which results in fiddling with things like
__FILE_OFFSET_BITS. It must always be included first, in order to set
flags that influence the compiler via <features.h>.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c
index 4816c56..09b6650 100644
--- a/pimd/pim_sock.c
+++ b/pimd/pim_sock.c
@@ -20,6 +20,7 @@
$QuaggaId: $Format:%an, %ai, %h$ $
*/
+#include <zebra.h>
#include "pim_mroute.h"
#include <sys/types.h>
@@ -31,7 +32,6 @@
#include <netdb.h>
#include <errno.h>
-#include <zebra.h>
#include "log.h"
#include "privs.h"