=================================================================== RCS file: /cvs/mandoc/Attic/apropos_db.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -r1.18 -r1.19 --- mandoc/Attic/apropos_db.c 2011/12/01 23:55:58 1.18 +++ mandoc/Attic/apropos_db.c 2011/12/02 00:21:56 1.19 @@ -1,4 +1,4 @@ -/* $Id: apropos_db.c,v 1.18 2011/12/01 23:55:58 kristaps Exp $ */ +/* $Id: apropos_db.c,v 1.19 2011/12/02 00:21:56 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -15,6 +15,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include @@ -24,8 +28,12 @@ #include #include -#ifdef __linux__ +#if defined(__linux__) +# include # include +#elif defined(__APPLE__) +# include +# include #else # include #endif