diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:24:35 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:24:35 -0700 |
commit | fc5e362786d32216800bacc09bd44c13afbcfdbf (patch) | |
tree | c79424dfb8cbeaa92cb0935b22914d7179477532 /system/include/sys/dirent.h | |
parent | 2f11f2e15392069a3c4a72fef2358fbf722b4e0e (diff) |
additional headers
Diffstat (limited to 'system/include/sys/dirent.h')
-rw-r--r-- | system/include/sys/dirent.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/include/sys/dirent.h b/system/include/sys/dirent.h new file mode 100644 index 00000000..a3fb5c02 --- /dev/null +++ b/system/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 |