summaryrefslogtreecommitdiff
path: root/Unix/i686-elf/include/sys/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Unix/i686-elf/include/sys/dirent.h')
-rw-r--r--Unix/i686-elf/include/sys/dirent.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Unix/i686-elf/include/sys/dirent.h b/Unix/i686-elf/include/sys/dirent.h
new file mode 100644
index 0000000..a3fb5c0
--- /dev/null
+++ b/Unix/i686-elf/include/sys/dirent.h
@@ -0,0 +1,13 @@
+/* <dirent.h> includes <sys/dirent.h>, which is this file. On a
+ system which supports <dirent.h>, this file is overridden by
+ dirent.h in the libc/sys/.../sys directory. On a system which does
+ not support <dirent.h>, we will get this file which uses #error to force
+ an error. */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+#error "<dirent.h> not supported"
+#ifdef __cplusplus
+}
+#endif