include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined
This commit is contained in:
parent
b1b752372f
commit
f552c792c7
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ extern "C" {
|
|||
|
||||
#ifdef _GNU_SOURCE
|
||||
typedef unsigned long caddr_t;
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue