From: Rich Felker Date: Sun, 20 Feb 2011 21:34:10 +0000 (-0500) Subject: include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined X-Git-Tag: v0.7.0~72 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f552c792c7ce5a560f214e1104d93ee5b0833967;p=oweals%2Fmusl.git include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined --- 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 #endif #ifdef __cplusplus