diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/zinf/files/patch-base_include_swab.h | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/zinf/files/patch-base_include_swab.h')
-rw-r--r-- | audio/zinf/files/patch-base_include_swab.h | 13 |
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..1654a3cc6def --- /dev/null +++ b/audio/zinf/files/patch-base_include_swab.h @@ -0,0 +1,13 @@ +--- base/include/swab.h.orig 2003-09-16 17:34:53 UTC ++++ base/include/swab.h +@@ -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) ) |