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:
b1b7523
)
include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined
author
Rich Felker
<dalias@aerifal.cx>
Sun, 20 Feb 2011 21:34:10 +0000
(16:34 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 20 Feb 2011 21:34:10 +0000
(16:34 -0500)
include/sys/types.h
patch
|
blob
|
history
diff --git
a/include/sys/types.h
b/include/sys/types.h
index 7a126b077a3f0111eb7ecb46b883ef9fd1a3f0b9..427a5b49f87bcf232750a18286dcf29e4447b0d2 100644
(file)
--- a/
include/sys/types.h
+++ b/
include/sys/types.h
@@
-60,6
+60,7
@@
extern "C" {
#ifdef _GNU_SOURCE
typedef unsigned long caddr_t;
+#include <sys/sysmacros.h>
#endif
#ifdef __cplusplus