--- libical-2.0.0-orig/src/libical/icaltz-util.c	2014-06-28 23:45:24.000000000 +0200
+++ libical-2.0.0/src/libical/icaltz-util.c	2014-08-13 17:34:46.383676500 +0200
@@ -54,6 +54,10 @@
 #define bswap_32 swap32
 #endif
 
+#ifdef WIN32
+#include <sys/param.h>
+#endif
+
 #if defined(_MSC_VER)
 #if !defined(HAVE_BYTESWAP_H) && !defined(HAVE_SYS_ENDIAN_H) && !defined(HAVE_ENDIAN_H)
 #define bswap_16(x) (((x) << 8) & 0xff00) | (((x) >> 8) & 0xff)
