about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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