major menu unification, minor reorganization
[libpicofe.git] / common / posix.h
diff --git a/common/posix.h b/common/posix.h
new file mode 100644 (file)
index 0000000..9100141
--- /dev/null
@@ -0,0 +1,13 @@
+/* define POSIX stuff: dirent, scandir, getcwd */
+#if defined(__linux__)
+
+#include <dirent.h>
+#include <unistd.h>
+
+#else
+
+#error "must define dirent"
+
+#endif
+
+