summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaMont Jones <lamont@parisc-linux.org>2006-01-05 17:00:43 +0000
committerLaMont Jones <lamont@parisc-linux.org>2006-01-05 17:00:43 +0000
commit4a3c8576ee50e09f41b02e498ae66623add5960a (patch)
tree875a99cb26b41b817b79eca79aa34199299d46e8
parent70ddb7d257b37029bba51800e419ecd344f62b1d (diff)
downloadpalo-4a3c8576ee50e09f41b02e498ae66623add5960a.tar.gz
need __swab64 toov1.13
-rw-r--r--debian/changelog7
-rw-r--r--lib/common.h6
2 files changed, 12 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index defd384..f49f641 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+palo (1.13) unstable; urgency=low
+
+ * One more workaround for linux-kernel-headers differences: __swab64
+ shows up on 64-bit machines on ubuntu.
+
+ -- LaMont Jones <lamont@debian.org> Thu, 5 Jan 2006 09:56:36 -0700
+
palo (1.12) unstable; urgency=low
* Work around differences in linux-kernel-headers between
diff --git a/lib/common.h b/lib/common.h
index e044021..795d0d7 100644
--- a/lib/common.h
+++ b/lib/common.h
@@ -17,6 +17,10 @@
* ones. Include <byteswap.h> above, and provide compatibility #define's
* to work around this.
*/
+#ifndef __swab64
+#define __swab64(x) bswap_64(x)
+#endif /* __swab64 */
+
#ifndef __swab32
#define __swab32(x) bswap_32(x)
#endif /* __swab32 */
@@ -25,7 +29,7 @@
#define __swab16(x) bswap_16(x)
#endif /* __swab16 */
-#define PALOVERSION "1.12"
+#define PALOVERSION "1.13"
/* size of I/O block used in HP firmware */
#define FW_BLOCKSIZE 2048