]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/bacula.h
Update doc
[bacula/bacula] / bacula / src / bacula.h
index 5a2ae3d89ebfd2f1c25035844cfb9670e8b7b7bc..e45952be86d22ca047a2629fa2d0a113b267601f 100644 (file)
 #define _POSIX_PTHREAD_SEMANTICS 1
 
 /* System includes */
+#if HAVE_STDINT_H
+#include <stdint.h>
+#endif
+#if HAVE_STDARG_H
 #include <stdarg.h>
+#endif
 #include <stdio.h>
-#if STDC_HEADERS
+#if HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
 #if HAVE_UNISTD_H
 #include <errno.h>
 #include <fcntl.h>
 
+#ifdef xxxxx
 #ifdef HAVE_GETOPT_LONG
 #include <getopt.h>
 #else
 #include "lib/getopt.h"
 #endif
+#endif 
 
 #include <string.h>
 #include <strings.h>
@@ -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