utils/fs: use <sys/stat.h>, not <sys\stat.h>
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 14 May 2018 08:09:58 +0000 (09:09 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 14 May 2018 08:15:18 +0000 (09:15 +0100)
Fix cross-compilation failure from linux to windows:
```
  CC utils/unlit/dist-install/build/fs.o
utils/unlit/fs.c:24:10: fatal error: sys\stat.h: No such file or directory
 #include <sys\stat.h>
          ^~~~~~~~~~~~
```

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
utils/fs/fs.c

index 24bf3a3..0f8fbe7 100644 (file)
@@ -21,8 +21,8 @@
 #include <io.h>
 #include <fcntl.h>
 #include <wchar.h>
-#include <sys\stat.h>
-#include <sys\types.h>
+#include <sys/stat.h>
+#include <sys/types.h>
 #include <share.h>
 
 /* This function converts Windows paths between namespaces. More specifically