COMP: Fix build on sun by adding missing include
This commit is contained in:
parent
3a945312ac
commit
e1ca8321ed
|
@ -69,6 +69,7 @@ FOREACH(file
|
|||
"inttypes.h"
|
||||
"libgen.h"
|
||||
"memory.h"
|
||||
"sys/mkdev.h"
|
||||
"stdint.h"
|
||||
"stdlib.h"
|
||||
"stdio.h"
|
||||
|
|
|
@ -54,6 +54,9 @@
|
|||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
|
||||
|
||||
/* Define to 1 if you have the <sys/mkdev.h> header file. */
|
||||
#cmakedefine HAVE_SYS_MKDEV_H @HAVE_SYS_MKDEV_H@
|
||||
|
||||
/* Define if you have the strdup function */
|
||||
#cmakedefine HAVE_STRDUP @HAVE_STRDUP@
|
||||
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_MKDEV_H
|
||||
# include <sys/mkdev.h>
|
||||
#endif
|
||||
|
||||
|
||||
struct linkname
|
||||
{
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Reference in New Issue