aboutsummaryrefslogtreecommitdiffstats
path: root/palm/synce-vdccm/files/patch-src_rapihandshakeclient.cpp
blob: d95dace5b04a1a24602917ea155143c28510f3bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/rapihandshakeclient.cpp.orig    2008-04-15 11:38:15.000000000 +0200
+++ src/rapihandshakeclient.cpp 2008-04-15 11:38:23.000000000 +0200
@@ -17,6 +17,11 @@
 #include <udpsocket.h>
 #include <synce_log.h>
 
+#if defined(__FreeBSD__) && defined(__sparc64__)
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#endif
 
 RapiHandshakeClient::RapiHandshakeClient( int fd, TCPServerSocket *tcpServerSocket )
         : RapiClient( fd, tcpServerSocket )