notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new memory handling, but asm and mappers need update.
[libpicofe.git]
/
common
/
posix.h
diff --git
a/common/posix.h
b/common/posix.h
index
9100141
..
2c2d98d
100644
(file)
--- a/
common/posix.h
+++ b/
common/posix.h
@@
-1,12
+1,14
@@
-/* define POSIX stuff: dirent, scandir, getcwd */
+/* define POSIX stuff: dirent, scandir, getcwd
, mkdir
*/
#if defined(__linux__)
#include <dirent.h>
#include <unistd.h>
#if defined(__linux__)
#include <dirent.h>
#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#else
#else
-#error "must
define dirent
"
+#error "must
provide posix
"
#endif
#endif