From b45ac5f5c61f98b0aacf65b456547142193ae1fc Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 28 Aug 2018 10:57:13 +0200 Subject: *: 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 --- lib/openbsd-tree.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/openbsd-tree.c') diff --git a/lib/openbsd-tree.c b/lib/openbsd-tree.c index 35bfce3a89..e8d13339b6 100644 --- a/lib/openbsd-tree.c +++ b/lib/openbsd-tree.c @@ -41,6 +41,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include -- cgit v1.2.3