COMP: Fix build on sun by adding missing include

This commit is contained in:
Andy Cedilnik 2005-12-28 12:24:27 -05:00
parent 3a945312ac
commit e1ca8321ed
4 changed files with 9 additions and 0 deletions

View File

@ -69,6 +69,7 @@ FOREACH(file
"inttypes.h"
"libgen.h"
"memory.h"
"sys/mkdev.h"
"stdint.h"
"stdlib.h"
"stdio.h"

View File

@ -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@

View File

@ -34,6 +34,10 @@
# include <unistd.h>
#endif
#ifdef HAVE_SYS_MKDEV_H
# include <sys/mkdev.h>
#endif
struct linkname
{

View File

@ -28,6 +28,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <stdlib.h>
#endif
#ifdef DEBUG