summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/dirent.h b/include/dirent.h
index b6261595..726067f6 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -5,11 +5,7 @@
extern "C" {
#endif
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
+#include <features.h>
#define __NEED_ino_t
#define __NEED_off_t