]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/bacula.h
Fix reporting jobs from state file + misc
[bacula/bacula] / bacula / src / bacula.h
index c1ab1928664483631c6c9fe3a19cf68634ed5b8a..35f3c07ea18e1300afaa28da89de69514e65422f 100644 (file)
 #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
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
+#ifdef HAVE_WIN32
+#include <winsock2.h>
+#else
 #include <sys/stat.h>
+#endif
 #include <sys/time.h>
 #if HAVE_SYS_WAIT_H
 #include <sys/wait.h>