summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dirent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h
index a51526d4..c19f7d58 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -7,6 +7,9 @@ extern "C" {
#define __NEED_ino_t
#define __NEED_off_t
+#ifdef _BSD_SOURCE
+#define __NEED_size_t
+#endif
#include <bits/alltypes.h>