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"
|
"inttypes.h"
|
||||||
"libgen.h"
|
"libgen.h"
|
||||||
"memory.h"
|
"memory.h"
|
||||||
|
"sys/mkdev.h"
|
||||||
"stdint.h"
|
"stdint.h"
|
||||||
"stdlib.h"
|
"stdlib.h"
|
||||||
"stdio.h"
|
"stdio.h"
|
||||||
|
|
|
@ -54,6 +54,9 @@
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
|
#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 */
|
/* Define if you have the strdup function */
|
||||||
#cmakedefine HAVE_STRDUP @HAVE_STRDUP@
|
#cmakedefine HAVE_STRDUP @HAVE_STRDUP@
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,10 @@
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_MKDEV_H
|
||||||
|
# include <sys/mkdev.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct linkname
|
struct linkname
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
# include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in New Issue