--- include/curl/curl.h.orig	2010-12-01 00:31:15.000000000 +0100
+++ include/curl/curl.h	2010-12-01 00:31:50.000000000 +0100
@@ -46,7 +46,7 @@
 #include <stdio.h>
 #include <limits.h>
 
-#if defined(__FreeBSD__) && (__FreeBSD__ >= 2)
+#if !defined(__APPLE__) && defined(__FreeBSD__) && (__FreeBSD__ >= 2)
 /* Needed for __FreeBSD_version symbol definition */
 #include <osreldate.h>
 #endif
