summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-04-10 15:22:19 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-04-10 15:22:19 +0000
commit490bccbffaa77f1c31446036971b55eff0759f47 (patch)
tree982f05c1f9eaab4966946434dd71ecbafe893ad7 /usr.sbin/bgpctl
parent0a1e3562d8ece94e7ba0094f413b70f545670f8b (diff)
Include endian.h since htobe* or be*toh is used. Helps with protable.
OK deraadt@
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r--usr.sbin/bgpctl/parser.c3
1 files changed, 2 insertions, 1 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>