summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bsm.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-12 20:18:12 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-13 13:35:33 +0200
commit2618a52ed307ffe62f45fb345fa5d90a631fc4f6 (patch)
treee4de811dfe49ac12e8d6ba52b604b2f6beb1f159 /pimd/pim_bsm.c
parentbgpd: fix clang format warning (diff)
downloadfrr-2618a52ed307ffe62f45fb345fa5d90a631fc4f6.tar.xz
frr-2618a52ed307ffe62f45fb345fa5d90a631fc4f6.zip
*: config.h or zebra.h is the first #include
This is mostly relevant for Solaris, where config.h sets up some #define that affect overall header behaviour, so it needs to be before anything else. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pimd/pim_bsm.c')
-rw-r--r--pimd/pim_bsm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c
index 4ba8d08fe..266d3ffcf 100644
--- a/pimd/pim_bsm.c
+++ b/pimd/pim_bsm.c
@@ -19,6 +19,11 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "if.h"
#include "pimd.h"
#include "pim_iface.h"