summaryrefslogtreecommitdiffstats
path: root/zebra
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 /zebra
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 'zebra')
-rw-r--r--zebra/zebra_dplane.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 1707d3a68..abe1879c2 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.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 "lib/libfrr.h"
#include "lib/debug.h"
#include "lib/frratomic.h"