summaryrefslogtreecommitdiffstats
path: root/bgpd/rfapi/rfapi_monitor.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-08-28 10:57:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 21:30:42 +0200
commitb45ac5f5c61f98b0aacf65b456547142193ae1fc (patch)
treecc932f64c64d19ce520e6947f80ab181c3a741b5 /bgpd/rfapi/rfapi_monitor.c
parentbuild: fix & clean up *SAN flags (diff)
downloadfrr-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 'bgpd/rfapi/rfapi_monitor.c')
-rw-r--r--bgpd/rfapi/rfapi_monitor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bgpd/rfapi/rfapi_monitor.c b/bgpd/rfapi/rfapi_monitor.c
index 59387240f..f18c6bfe1 100644
--- a/bgpd/rfapi/rfapi_monitor.c
+++ b/bgpd/rfapi/rfapi_monitor.c
@@ -24,8 +24,6 @@
/* TBD remove unneeded includes */
-#include <errno.h>
-
#include "lib/zebra.h"
#include "lib/prefix.h"
#include "lib/agg_table.h"