=================================================================== RCS file: /cvs/mandoc/dbm_map.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- mandoc/dbm_map.c 2016/07/20 00:23:14 1.2 +++ mandoc/dbm_map.c 2016/08/05 23:15:08 1.3 @@ -1,4 +1,4 @@ -/* $Id: dbm_map.c,v 1.2 2016/07/20 00:23:14 schwarze Exp $ */ +/* $Id: dbm_map.c,v 1.3 2016/08/05 23:15:08 schwarze Exp $ */ /* * Copyright (c) 2016 Ingo Schwarze * @@ -24,7 +24,13 @@ #include #include +#if HAVE_ENDIAN #include +#elif HAVE_SYS_ENDIAN +#include +#elif HAVE_NTOHL +#include +#endif #if HAVE_ERR #include #endif