summaryrefslogtreecommitdiff
path: root/audio/zinf/files/patch-base-include-swab.h
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-27 03:59:35 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-27 03:59:35 +0000
commite95a885a95c52c19e18040208f07d05c1537fc53 (patch)
tree645eda65c011355ebebda0646557e5b5cb1f7e33 /audio/zinf/files/patch-base-include-swab.h
parentUpdate for teamspeak_server port update (diff)
Update port: audio/zinf to 2.2.4
- Update to version 2.2.4 PR: ports/57001 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=89509
Diffstat (limited to 'audio/zinf/files/patch-base-include-swab.h')
-rw-r--r--audio/zinf/files/patch-base-include-swab.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/zinf/files/patch-base-include-swab.h b/audio/zinf/files/patch-base-include-swab.h
new file mode 100644
index 000000000000..0a96ad997242
--- /dev/null
+++ b/audio/zinf/files/patch-base-include-swab.h
@@ -0,0 +1,13 @@
+--- base/include/swab.h.orig Tue Mar 18 03:53:31 2003
++++ base/include/swab.h Mon Aug 18 17:33:34 2003
+@@ -1,7 +1,10 @@
+ #if !defined(_ZINF_SWAB_H)
+ #define _ZINF_SWAB_H
+
++#include <inttypes.h>
++#if HAVE_STDINT_H
+ #include <stdint.h>
++#endif
+
+ #define SWAB16(a) ( (((uint16_t)(a) << 8) & 0xFF00) | (((uint16_t)(a) >> 8) & 0x00FF) )
+ #define SWAB32(a) ( (SWAB16(((a) >> 16) & 0xFFFF) << 0) | (SWAB16((a) & 0xFFFF) << 16) )