summaryrefslogtreecommitdiffstats
path: root/squarkdb.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-20 18:28:25 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-08-20 18:28:25 +0300
commit93f60a937e7f80cb6cd323445407cbc95ef774bc (patch)
tree2e5f0cdc033791d518b8f4e6466119afeb53de32 /squarkdb.c
parent9ee4f03712925b1fe7634ca66d8d421e676e5b58 (diff)
downloadsquark-93f60a937e7f80cb6cd323445407cbc95ef774bc.tar.bz2
squark-93f60a937e7f80cb6cd323445407cbc95ef774bc.tar.xz
squark: add missing #include and define _GNU_SOURCE
Diffstat (limited to 'squarkdb.c')
-rw-r--r--squarkdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/squarkdb.c b/squarkdb.c
index f289b28..0d661c9 100644
--- a/squarkdb.c
+++ b/squarkdb.c
@@ -2,6 +2,7 @@
#include <unistd.h>
#include <string.h>
#include <sys/mman.h>
+#include <sys/stat.h>
#include "squarkdb.h"