Explorar o código

include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined

Rich Felker %!s(int64=14) %!d(string=hai) anos
pai
achega
f552c792c7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/sys/types.h

+ 1 - 0
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