OpenBSD: fix FTBS on swap16() / swap32()
On OpenBSD, those symbols already defined as macros, but practically doing the same. So just just #ifdef'ing them out on OpenBSD.
../tests/util/pattern.c:65:24: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static inline uint16_t swap16(uint16_t x) ^ /usr/include/sys/endian.h:70:19: note: expanded from macro 'swap16' ^ /usr/include/sys/_endian.h:87:15: note: expanded from macro '__swap16' (__uint16_t)(__builtin_constant_p(x) ? __swap16gen(x) : __swap16md(x)) ^ ../tests/util/pattern.c:65:24: error: expected ')' /usr/include/sys/endian.h:70:19: note: expanded from macro 'swap16' ^ /usr/include/sys/_endian.h:87:39: note: expanded from macro '__swap16' (__uint16_t)(__builtin_constant_p(x) ? __swap16gen(x) : __swap16md(x)) ^
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net