diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-20 16:34:10 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-20 16:34:10 -0500 |
commit | f552c792c7ce5a560f214e1104d93ee5b0833967 (patch) | |
tree | f98aa934aa4bb801831ccb9824e069eadcca2660 /include/sys | |
parent | b1b752372f10c904d398f64266b3188703727736 (diff) | |
download | musl-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.h | 1 |
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 |