| From 902917880ca29f1007750a70cf46e7246b2d0a2a Mon Sep 17 00:00:00 2001 |
| From: Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
| Date: Tue, 14 Nov 2017 06:01:21 +0100 |
| Subject: [PATCH] byteorder.h: fix uclibc build |
| |
| Patch suggested on upstream mailinglist: |
| https://www.dovecot.org/pipermail/dovecot/2017-November/110019.html |
| |
| Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> |
| --- |
| src/lib/byteorder.h | 5 +++++ |
| 1 file changed, 5 insertions(+) |
| |
| diff --git a/src/lib/byteorder.h b/src/lib/byteorder.h |
| index 2f5dc7c17..4ffe8da21 100644 |
| --- a/src/lib/byteorder.h |
| +++ b/src/lib/byteorder.h |
| @@ -23,6 +23,11 @@ |
| #ifndef BYTEORDER_H |
| #define BYTEORDER_H |
| |
| +#undef bswap_8 |
| +#undef bswap_16 |
| +#undef bswap_32 |
| +#undef bswap_64 |
| + |
| /* |
| * These prototypes exist to catch bugs in the code generating macros below. |
| */ |
| -- |
| 2.11.0 |
| |