From: Kern Sibbald Date: Mon, 11 Jan 2010 13:57:26 +0000 (+0100) Subject: Fix Win32 build X-Git-Tag: Release-5.0.0~85 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2c4d463387bbc2b1bfff01c36a548212ef60923;p=bacula%2Fbacula Fix Win32 build --- diff --git a/bacula/src/win32/compat/mingwconfig.h b/bacula/src/win32/compat/mingwconfig.h index 4ff9d994de..8d9888c895 100644 --- a/bacula/src/win32/compat/mingwconfig.h +++ b/bacula/src/win32/compat/mingwconfig.h @@ -372,5 +372,7 @@ /* Define to 1 if your declares `struct tm'. */ /* #undef TM_IN_SYS_TIME */ +/* Use long unsigned int for ioctl request */ +#define HAVE_IOCTL_ULINT_REQUEST #endif /* __MINGWNCONFIG_H */ diff --git a/bacula/src/win32/compat/winconfig.h b/bacula/src/win32/compat/winconfig.h index fa1e0c37c7..56932a764c 100644 --- a/bacula/src/win32/compat/winconfig.h +++ b/bacula/src/win32/compat/winconfig.h @@ -661,4 +661,7 @@ /* Define to `int' if doesn't define. */ /* #undef uid_t */ +/* Use long unsigned int for ioctl request */ +#define HAVE_IOCTL_ULINT_REQUEST + #endif /* __WINCONFIG_H */