From: Marco van Wieringen Date: Thu, 19 Apr 2012 12:08:40 +0000 (+0200) Subject: On some platforms intptr_t is in an other include file. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da395f67b5334a43476de7d10c070e3ca3d2c696;p=bacula%2Fbacula On some platforms intptr_t is in an other include file. --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index b6a9fde2e2..6ee6577ee0 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1865,6 +1865,7 @@ AC_CHECK_HEADERS( \ stdarg.h \ stdlib.h \ stdint.h \ + inttypes.h \ string.h \ strings.h \ termios.h \ diff --git a/bacula/src/bacula.h b/bacula/src/bacula.h index ccaa978693..2c2b2bdae0 100644 --- a/bacula/src/bacula.h +++ b/bacula/src/bacula.h @@ -67,6 +67,8 @@ #ifndef __sgi #include #endif +#elif HAVE_INTTYPES_H +#include #endif #if HAVE_STDARG_H #include