diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-09-15 01:53:09 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-09 10:45:22 -0400 |
| commit | 7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac (patch) | |
| tree | bdba881cf8f07846258451a81a03fdec456bcc0e /pimd/pim_str.c | |
| parent | 195dd232ebfd62cf6c461612d3ef7fb3d2a23b30 (diff) | |
*: 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_str.c')
| -rw-r--r-- | pimd/pim_str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_str.c b/pimd/pim_str.c index af5a184d2f..3a8353cd8c 100644 --- a/pimd/pim_str.c +++ b/pimd/pim_str.c @@ -20,12 +20,12 @@ $QuaggaId: $Format:%an, %ai, %h$ $ */ +#include <zebra.h> + #include <stdio.h> #include <errno.h> #include <string.h> -#include <zebra.h> - #include "log.h" #include "pim_str.h" |
