fix dirent.h with _BSD_SOURCE
This commit is contained in:
parent
67ba40d1e0
commit
9a470b0a6e
1 changed files with 3 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue