summaryrefslogtreecommitdiffstats
path: root/src/db-parse-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db-parse-context.c')
-rw-r--r--src/db-parse-context.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/db-parse-context.c b/src/db-parse-context.c
index 7217abf..cf5171d 100644
--- a/src/db-parse-context.c
+++ b/src/db-parse-context.c
@@ -21,7 +21,9 @@
* This product is not supported/written/published by Apple!
*
*/
-
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <sys/mman.h>
#include <sys/stat.h>
@@ -29,7 +31,9 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <glib.h>
#include "db-parse-context.h"