From b2c4d463387bbc2b1bfff01c36a548212ef60923 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 11 Jan 2010 14:57:26 +0100 Subject: [PATCH] Fix Win32 build --- bacula/src/win32/compat/mingwconfig.h | 2 ++ bacula/src/win32/compat/winconfig.h | 3 +++ 2 files changed, 5 insertions(+) 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 */ -- 2.39.5