summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libw32dll/wine/win32.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libw32dll/wine/win32.c b/src/libw32dll/wine/win32.c
index 2d42974c6..5e2854979 100644
--- a/src/libw32dll/wine/win32.c
+++ b/src/libw32dll/wine/win32.c
@@ -811,7 +811,9 @@ static void WINAPI expGetSystemInfo(SYSTEM_INFO* si)
/* FIXME: better values for the two entries below... */
static int cache = 0;
static SYSTEM_INFO cachedsi;
- /* unsigned int regs[4]; -- Unused*/
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__svr4__)
+ unsigned int regs[4];
+#endif
dbgprintf("GetSystemInfo(%p) =>\n", si);
if (cache) {