=================================================================== RCS file: /cvs/mandoc/dbm.c,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- mandoc/dbm.c 2016/07/19 21:31:55 1.1 +++ mandoc/dbm.c 2016/08/05 23:15:08 1.3 @@ -1,4 +1,4 @@ -/* $Id: dbm.c,v 1.1 2016/07/19 21:31:55 schwarze Exp $ */ +/* $Id: dbm.c,v 1.3 2016/08/05 23:15:08 schwarze Exp $ */ /* * Copyright (c) 2016 Ingo Schwarze * @@ -17,9 +17,19 @@ * Map-based version of the mandoc database, for read-only access. * The interface is defined in "dbm.h". */ +#include "config.h" + #include +#if HAVE_ENDIAN #include +#elif HAVE_SYS_ENDIAN +#include +#elif HAVE_NTOHL +#include +#endif +#if HAVE_ERR #include +#endif #include #include #include