diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-02 21:03:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-02 21:03:26 +0000 |
commit | 9fee1efe0438106a90202e06e19a3509d76199df (patch) | |
tree | 16963fd48bb3e38f21d772b1d3d08e87c12bfd43 /mandocdb.c | |
parent | 4c765f0ca6765fa2a8aefa830f0f4c85dd992e83 (diff) | |
download | mandoc-9fee1efe0438106a90202e06e19a3509d76199df.tar.gz |
DragonFly needs explicit #include <sys/endian.h> to use be64toh(),
while most other systems include that indirectly via <sys/types.h>.
Reported by Franco Fichtner <franco at lastsummer dot de>.
Diffstat (limited to 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -41,6 +41,7 @@ # include <libkern/OSByteOrder.h> # include <db.h> #else +# include <sys/endian.h> # include <db.h> #endif |