summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-08-05 21:37:40 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-08-05 21:37:40 +0000
commit3ae355f352428a35cddc6688338c8f3ff01903a7 (patch)
treeb0e0784d377dcd78b34d8a79105b96cb77b12c91 /usr.bin
parent92c4b8b886d9afccc811aaa297a09029c60559f3 (diff)
missing <endian.h> reported by Bapt@iste Daroussin, found on FreeBSD
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/dba.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/dba.c b/usr.bin/mandoc/dba.c
index b43cb82bf23..c90f6653af9 100644
--- a/usr.bin/mandoc/dba.c
+++ b/usr.bin/mandoc/dba.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dba.c,v 1.1 2016/08/01 10:32:39 schwarze Exp $ */
+/* $OpenBSD: dba.c,v 1.2 2016/08/05 21:37:39 schwarze Exp $ */
/*
* Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -18,6 +18,7 @@
* The interface is defined in "dba.h".
*/
#include <sys/types.h>
+#include <endian.h>
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>