summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index c7064d9..559f342 100644
--- a/src/common.c
+++ b/src/common.c
@@ -35,6 +35,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
+#include <unistd.h>
#ifdef WIN32
#include <windows.h>