From da395f67b5334a43476de7d10c070e3ca3d2c696 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Thu, 19 Apr 2012 14:08:40 +0200 Subject: [PATCH] On some platforms intptr_t is in an other include file. --- bacula/autoconf/configure.in | 1 + bacula/src/bacula.h | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5