]> git.sur5r.net Git - bacula/bacula/commitdiff
On some platforms intptr_t is in an other include file.
authorMarco van Wieringen <mvw@planets.elm.net>
Thu, 19 Apr 2012 12:08:40 +0000 (14:08 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:38 +0000 (14:50 +0200)
bacula/autoconf/configure.in
bacula/src/bacula.h

index b6a9fde2e21a5fd028b3dba946dd47fe93cd9a5c..6ee6577ee07bbd95d24cec47f8790b8469814426 100644 (file)
@@ -1865,6 +1865,7 @@ AC_CHECK_HEADERS( \
    stdarg.h \
    stdlib.h \
    stdint.h \
+   inttypes.h \
    string.h \
    strings.h \
    termios.h \
index ccaa9786932b98a469fe8e0b77109f692617a7a3..2c2b2bdae0dad62a83bf9d3ef517591cad22e4ee 100644 (file)
@@ -67,6 +67,8 @@
 #ifndef __sgi
 #include <stdint.h>
 #endif
+#elif HAVE_INTTYPES_H
+#include <inttypes.h>
 #endif
 #if HAVE_STDARG_H
 #include <stdarg.h>