about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-20 16:34:10 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-20 16:34:10 -0500
commitf552c792c7ce5a560f214e1104d93ee5b0833967 (patch)
treef98aa934aa4bb801831ccb9824e069eadcca2660 /include/sys
parentb1b752372f10c904d398f64266b3188703727736 (diff)
downloadmusl-f552c792c7ce5a560f214e1104d93ee5b0833967.tar.gz
musl-f552c792c7ce5a560f214e1104d93ee5b0833967.tar.xz
musl-f552c792c7ce5a560f214e1104d93ee5b0833967.zip
include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index 7a126b07..427a5b49 100644
--- 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