aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dba.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-08-05 21:38:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-08-05 21:38:11 +0000
commit742e308543d2c812e8600fd0813ee9071b920cc9 (patch)
tree0406d97b7fb1c4c410d9846d520eed56f0ef5109 /dba.c
parent7a54aa87883d10656a4ae69fa2d4faee332cc0d7 (diff)
downloadmandoc-742e308543d2c812e8600fd0813ee9071b920cc9.tar.gz
mandoc-742e308543d2c812e8600fd0813ee9071b920cc9.tar.zst
mandoc-742e308543d2c812e8600fd0813ee9071b920cc9.zip
missing <endian.h> reported by Bapt@iste Daroussin, found on FreeBSD
Diffstat (limited to 'dba.c')
-rw-r--r--dba.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dba.c b/dba.c
index ce84c016..426d40b3 100644
--- a/dba.c
+++ b/dba.c
@@ -1,4 +1,4 @@
-/* $Id: dba.c,v 1.3 2016/07/29 15:29:32 schwarze Exp $ */
+/* $Id: dba.c,v 1.4 2016/08/05 21:38:11 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>