--- src/os.h.bak	2009-01-18 14:10:34.000000000 +0100
+++ src/os.h	2009-01-18 14:11:00.000000000 +0100
@@ -82,7 +82,7 @@
 #define stricmp                 strcasecmp
 #define strnicmp                strncasecmp
 
-#if __CYGWIN__
+#if __CYGWIN__ || __DARWIN__
 typedef unsigned long           ulong;
 #endif
 
