aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/win32-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wsutil/win32-utils.h b/wsutil/win32-utils.h
index 9a7658d2b6..6a84dd0fa0 100644
--- a/wsutil/win32-utils.h
+++ b/wsutil/win32-utils.h
@@ -11,6 +11,12 @@
#ifndef __WIN32UTIL_H__
#define __WIN32UTIL_H__
+/*
+ * This is included in ABI checking, so protect it with #ifdef _WIN32,
+ * so it doesn't break ABI checking on UN*X.
+ */
+#ifdef _WIN32
+
#include "ws_symbol_export.h"
#include <glib.h>
@@ -62,4 +68,6 @@ const char * win32strexception(DWORD exception);
}
#endif
+#endif /* _WIN32 */
+
#endif /* __WIN32UTIL_H__ */