]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/bacula.h
Use @scriptdir@ not . ./
[bacula/bacula] / bacula / src / bacula.h
index 98ce68022717339d39ee8d0ebf0fed1a858b2705..80d6eba43c2862ffefffc51e35db1dd19ae38ea2 100644 (file)
 #define _BACULA_H 1
 
 #include "config.h"
+#include "host.h"
 
 #define _REENTRANT    1
 #define _THREAD_SAFE  1
 #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 <strings.h>
 #include <signal.h>
 #include <ctype.h>
+#ifndef _SPLINT_
 #include <syslog.h>
+#endif
 #if HAVE_LIMITS_H
 #include <limits.h>
 #endif
 #include <pwd.h>
+#include <grp.h>
 #include <time.h>
 #include <netdb.h>
 #include <sys/types.h>
@@ -72,7 +81,9 @@
 #include <sys/bitypes.h>
 #endif
 #include <sys/ioctl.h>
+#ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
+#endif
 #include <sys/stat.h>
 #include <sys/time.h>
 #if HAVE_SYS_WAIT_H
@@ -86,8 +97,8 @@
  *  includes before these.  
  */
 #include "version.h"
-#include "baconfig.h"
 #include "bc_types.h"
+#include "baconfig.h"
 #include "lib/lib.h"
 
 #ifndef HAVE_ZLIB_H