diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-08-28 10:57:13 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 21:30:42 +0200 |
commit | b45ac5f5c61f98b0aacf65b456547142193ae1fc (patch) | |
tree | cc932f64c64d19ce520e6947f80ab181c3a741b5 /pimd | |
parent | build: fix & clean up *SAN flags (diff) | |
download | frr-b45ac5f5c61f98b0aacf65b456547142193ae1fc.tar.xz frr-b45ac5f5c61f98b0aacf65b456547142193ae1fc.zip |
*: fix config.h/zebra.h include order
config.h (or, transitively, zebra.h) must be the first include file
listed for autoconf things like _GNU_SOURCE and _POSIX_C_SOURCE to work
correctly.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/mtracebis.c | 4 | ||||
-rw-r--r-- | pimd/mtracebis_netlink.c | 4 | ||||
-rw-r--r-- | pimd/mtracebis_routeget.c | 4 | ||||
-rw-r--r-- | pimd/pim_igmp_stats.c | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/pimd/mtracebis.c b/pimd/mtracebis.c index c0d95aeed..65c495eff 100644 --- a/pimd/mtracebis.c +++ b/pimd/mtracebis.c @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef __linux__ #include "pim_igmp_mtrace.h" diff --git a/pimd/mtracebis_netlink.c b/pimd/mtracebis_netlink.c index b4bf6bada..30ee8f24a 100644 --- a/pimd/mtracebis_netlink.c +++ b/pimd/mtracebis_netlink.c @@ -10,6 +10,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef __linux__ #include <stdio.h> diff --git a/pimd/mtracebis_routeget.c b/pimd/mtracebis_routeget.c index 8c1cd8d96..8d974403a 100644 --- a/pimd/mtracebis_routeget.c +++ b/pimd/mtracebis_routeget.c @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef __linux__ #include <asm/types.h> diff --git a/pimd/pim_igmp_stats.c b/pimd/pim_igmp_stats.c index 428816e1f..40851a452 100644 --- a/pimd/pim_igmp_stats.c +++ b/pimd/pim_igmp_stats.c @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "pim_igmp_stats.h" void igmp_stats_init(struct igmp_stats *stats) |