freebsd-ports/net/boinc-client/files/patch-clientgui-AsyncRPC.cpp
Pav Lucistnik e776f33209 - Update to 7.0.25
PR:		ports/166873
Submitted by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
2012-04-15 12:57:50 +00:00

16 lines
453 B
C++

--- clientgui/AsyncRPC.cpp.orig 2012-04-07 11:55:37.000000000 +0300
+++ clientgui/AsyncRPC.cpp 2012-04-07 11:56:14.000000000 +0300
@@ -20,7 +20,12 @@
#endif
#if !(defined(_WIN32) || (defined(__WXMAC__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)))
-#include <xlocale.h>
+#ifdef __FreeBSD__
+# include <osreldate.h>
+# if __FreeBSD_version >= 1000002
+# include <xlocale.h>
+# endif
+#endif
//#include "gui_rpc_client.h"
#endif