fix dirent.h with _BSD_SOURCE

This commit is contained in:
Rich Felker 2012-08-24 14:23:16 -04:00
parent 67ba40d1e0
commit 9a470b0a6e
1 changed files with 3 additions and 0 deletions

View File

@ -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>