aboutsummaryrefslogtreecommitdiffstats
path: root/palm/synce-vdccm/files/patch-src_windowscedevice.cpp
blob: d11c8581e24b5b87723963a4f7e410f6deeb9acc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/windowscedevice.cpp.orig    2008-04-15 11:28:35.000000000 +0200
+++ src/windowscedevice.cpp 2008-04-15 11:37:11.000000000 +0200
@@ -29,6 +29,12 @@
 
 #include <devicemanager.h>
 
+#if defined(__FreeBSD__) && defined(__sparc64__)
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#endif
+
 using namespace std;
 
 WindowsCEDevice::WindowsCEDevice(int fd, TCPServerSocket *tcpServerSocket)