summaryrefslogtreecommitdiff
blob: 813f963db4c86d08c8681e609d80a2dd71c95d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
http://bugs.gentoo.org/335137

--- sources/mainmenu.cpp
+++ sources/mainmenu.cpp
@@ -3,6 +3,7 @@
 #else
 #include <stddef.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <dirent.h>
 #endif
 
--- sources/nethersave.cpp
+++ sources/nethersave.cpp
@@ -1,5 +1,8 @@
 #ifdef _WIN32
 #include "windows.h"
+#else
+#include <sys/types.h>
+#include <sys/stat.h>
 #endif
 
 #include "string.h"