projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ba40d
)
fix dirent.h with _BSD_SOURCE
author
Rich Felker
<dalias@aerifal.cx>
Fri, 24 Aug 2012 18:23:16 +0000
(14:23 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 24 Aug 2012 18:23:16 +0000
(14:23 -0400)
include/dirent.h
patch
|
blob
|
history
diff --git
a/include/dirent.h
b/include/dirent.h
index a51526d4694eb4eecaf131d931fb08c1a31bee2e..c19f7d58089a54758dce4204ce8105ee71521a4b 100644
(file)
--- 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>