missing <endian.h> reported by Bapt@iste Daroussin, found on FreeBSD
authorschwarze <schwarze@openbsd.org>
Fri, 5 Aug 2016 21:37:39 +0000 (21:37 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 5 Aug 2016 21:37:39 +0000 (21:37 +0000)
usr.bin/mandoc/dba.c

index b43cb82..c90f665 100644 (file)
@@ -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>