Procházet zdrojové kódy

fix dirent.h with _BSD_SOURCE

Rich Felker před 12 roky
rodič
revize
9a470b0a6e
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      include/dirent.h

+ 3 - 0
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>