@@ -212,6 +212,7 @@ AC_CHECK_TYPES([struct timespec],
[], [
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <time.h>
])
@@ -34,6 +34,7 @@ extern "C" {
#include <windows.h>
#include <stdio.h>
#include <errno.h>