summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/win32.c')
-rw-r--r--loader/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 4941dd6a8f..ca6549f554 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -1344,7 +1344,7 @@ static double linux_cpuinfo_freq()
static double
solaris_kstat_freq()
{
-#if HAVE_LIBKSTAT
+#if defined(HAVE_LIBKSTAT) && defined(KSTAT_DATA_INT32)
/*
* try to extract the CPU speed from the solaris kernel's kstat data
*/