]> granicus.if.org Git - graphviz/commitdiff
Fix Bug #1011 - stdint.h not availble on Solaris (so much for standards!)
authorellson <devnull@localhost>
Mon, 4 Sep 2006 13:46:58 +0000 (13:46 +0000)
committerellson <devnull@localhost>
Mon, 4 Sep 2006 13:46:58 +0000 (13:46 +0000)
configure.ac
plugin/gtk/gvdevice_gtk.c

index d65a91f1053feebdf927a42c1f6b69d571ca5019..eebc19ea6a2b4056fac942e60cb6120fc292ed9d 100644 (file)
@@ -256,7 +256,7 @@ dnl Checks for header files
 # AC_HAVE_HEADERS(string.h)
 AC_CHECK_HEADERS(stdarg.h stddef.h stddef.h stdlib.h stdint.h malloc.h \
        search.h getopt.h pthread.h values.h float.h limits.h termios.h \
-       errno.h time.h unistd.h fenv.h strings.h \
+       errno.h time.h unistd.h fenv.h strings.h inttypes.h \
        sys/time.h sys/times.h sys/types.h sys/select.h fpu_control.h \
        sys/fpu.h strings.h sys/socket.h sys/stat.h sys/mman.h \
        sys/ioctl.h sys/inotify.h)
index efae6f69e24f5bc720c66c2e173eadbfd2b90d67..22b2e79eb825ed163338d24012ce0a10cd0f1982 100644 (file)
 #ifdef HAVE_STDINT_H
 #include <stdint.h>
 #endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #include "gvplugin_device.h"