summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpctl/parser.c3
-rw-r--r--usr.sbin/bgpd/parse.y3
-rw-r--r--usr.sbin/bgpd/util.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index db7903c80de..b2509458a80 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.92 2019/02/27 04:34:21 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.93 2019/04/10 15:22:18 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -20,6 +20,7 @@
#include <sys/types.h>
+#include <endian.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 3ce72c061e9..feb22478ccb 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.385 2019/03/31 16:57:38 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.386 2019/04/10 15:21:54 claudio Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -32,6 +32,7 @@
#include <arpa/inet.h>
#include <ctype.h>
+#include <endian.h>
#include <err.h>
#include <unistd.h>
#include <errno.h>
diff --git a/usr.sbin/bgpd/util.c b/usr.sbin/bgpd/util.c
index 7dc79b12306..14df35f6068 100644
--- a/usr.sbin/bgpd/util.c
+++ b/usr.sbin/bgpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.48 2019/02/27 04:31:56 claudio Exp $ */
+/* $OpenBSD: util.c,v 1.49 2019/04/10 15:21:54 claudio Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -20,6 +20,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <endian.h>
#include <errno.h>
#include <netdb.h>
#include <stdlib.h>