X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fbacula.h;h=e45952be86d22ca047a2629fa2d0a113b267601f;hb=f9ce984a95bee03cf26737a16564c197afca7ecf;hp=5a2ae3d89ebfd2f1c25035844cfb9670e8b7b7bc;hpb=b5752d5d38754259dc2bb30e1461ae0431c2333d;p=bacula%2Fbacula diff --git a/bacula/src/bacula.h b/bacula/src/bacula.h index 5a2ae3d89e..e45952be86 100644 --- a/bacula/src/bacula.h +++ b/bacula/src/bacula.h @@ -34,9 +34,14 @@ #define _POSIX_PTHREAD_SEMANTICS 1 /* System includes */ +#if HAVE_STDINT_H +#include +#endif +#if HAVE_STDARG_H #include +#endif #include -#if STDC_HEADERS +#if HAVE_STDLIB_H #include #endif #if HAVE_UNISTD_H @@ -48,11 +53,13 @@ #include #include +#ifdef xxxxx #ifdef HAVE_GETOPT_LONG #include #else #include "lib/getopt.h" #endif +#endif #include #include @@ -88,4 +95,8 @@ #include "bc_types.h" #include "lib/lib.h" +#ifndef HAVE_ZLIB_H +#undef HAVE_LIBZ /* no good without headers */ +#endif + #endif