Index: src/libical/icaltz-util.c
===================================================================
--- src/libical/icaltz-util.c	(revision 908)
+++ src/libical/icaltz-util.c	(working copy)
@@ -45,6 +45,9 @@
 #endif
 
 #ifdef WIN32
+#define BIG_ENDIAN 'B'
+#define LITTLE_ENDIAN 'l'
+#define BYTE_ORDER LITTLE_ENDIAN
 #if !defined(HAVE_BYTESWAP_H) && !defined(HAVE_SYS_ENDIAN_H) && !defined(HAVE_ENDIAN_H)
 #define bswap_16(x) (((x) << 8) & 0xff00) | (((x) >> 8 ) & 0xff)
 #define bswap_32(x) (((x) << 24) & 0xff000000)  \
Index: src/libical/icalrecur.c
===================================================================
--- src/libical/icalrecur.c	(revision 908)
+++ src/libical/icalrecur.c	(working copy)
@@ -141,12 +141,6 @@
 
 #include <limits.h>
 
-#ifndef HAVE_INTPTR_T
-#if defined (WIN32) || defined (XP_BEOS)
-typedef long intptr_t;
-#endif
-#endif
-
 #ifdef WIN32
 #define strcasecmp      stricmp
 #endif
Index: src/libical/vsnprintf.c
===================================================================
--- src/libical/vsnprintf.c	(revision 908)
+++ src/libical/vsnprintf.c	(working copy)
@@ -1,6 +1,4 @@
-#ifndef WIN32
 #include "config.h"
-#endif
 #ifndef HAVE_SNPRINTF
 #error DO NOT USE libical version of vsnprintf.
 /*
