X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fbacula.h;h=35f3c07ea18e1300afaa28da89de69514e65422f;hb=7f3b2717d08ce3a7618c0cf0dc5bf6a5f8ddbe76;hp=98ce68022717339d39ee8d0ebf0fed1a858b2705;hpb=e53be911eaed3564909002be3995d5106d25f4ef;p=bacula%2Fbacula diff --git a/bacula/src/bacula.h b/bacula/src/bacula.h index 98ce680227..35f3c07ea1 100644 --- a/bacula/src/bacula.h +++ b/bacula/src/bacula.h @@ -5,7 +5,7 @@ */ /* - Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker + Copyright (C) 2000-2004 Kern Sibbald and John Walker This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -27,16 +27,28 @@ #ifndef _BACULA_H #define _BACULA_H 1 +#ifdef HAVE_WIN32 +#include "winconfig.h" +#include "winhost.h" +#else #include "config.h" +#include "host.h" +#endif + #define _REENTRANT 1 #define _THREAD_SAFE 1 #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 @@ -60,11 +72,14 @@ #include #include #include +#ifndef _SPLINT_ #include +#endif #if HAVE_LIMITS_H #include #endif #include +#include #include #include #include @@ -72,8 +87,14 @@ #include #endif #include +#ifdef HAVE_SYS_SOCKET_H #include +#endif +#ifdef HAVE_WIN32 +#include +#else #include +#endif #include #if HAVE_SYS_WAIT_H #include @@ -86,8 +107,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