diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-09-15 10:53:09 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-09 16:45:22 +0200 |
commit | 7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac (patch) | |
tree | bdba881cf8f07846258451a81a03fdec456bcc0e /pimd/pim_sock.c | |
parent | lib/zclient: Consolidate error reporting for zclient_read_header (diff) | |
download | frr-7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac.tar.xz frr-7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac.zip |
*: 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>
(cherry picked from commit 821df2cf18e5978cc7ab532a8695444380d08270)
Diffstat (limited to 'pimd/pim_sock.c')
-rw-r--r-- | pimd/pim_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c index 4e6bf7e0a..2bb48f75a 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" |