Fix build on Windows some more
diff --git a/src/fccache.c b/src/fccache.c
index cefe4e9..e42ebbb 100644
--- a/src/fccache.c
+++ b/src/fccache.c
@@ -33,6 +33,8 @@
 
 #ifndef _WIN32
   #include <sys/time.h>
+#else
+  #include <winsock2.h> /* for struct timeval */
 #endif
 
 #include <assert.h>
diff --git a/src/fccfg.c b/src/fccfg.c
index 3730784..0a49e42 100644
--- a/src/fccfg.c
+++ b/src/fccfg.c
@@ -32,6 +32,10 @@
 #define R_OK 4
 #endif
 
+#if defined(_WIN32) && !defined(S_ISFIFO)
+#define S_ISFIFO(m) 0
+#endif
+
 static FcConfig    *_fcConfig; /* MT-safe */
 static FcMutex	   *_lock;