DEADSOFTWARE

portability: use posix functions only on unix
[flatwaifu.git] / src / files.c
index d78389ff4da1ea5d7038d5eb93ace9be11695d39..a659f26c47a0569307e1d07479c3b17e6ee890e1 100644 (file)
@@ -19,7 +19,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/stat.h>
+#ifdef UNIX
+#  include <sys/stat.h>
+#endif
 #include "files.h"
 #include "map.h"
 #include "my.h"