diff options
Diffstat (limited to 'tdeioslave/audiocd/plugins/wav/encodercda.cpp')
-rw-r--r-- | tdeioslave/audiocd/plugins/wav/encodercda.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdeioslave/audiocd/plugins/wav/encodercda.cpp b/tdeioslave/audiocd/plugins/wav/encodercda.cpp index ef8522d9..70ca37ff 100644 --- a/tdeioslave/audiocd/plugins/wav/encodercda.cpp +++ b/tdeioslave/audiocd/plugins/wav/encodercda.cpp @@ -44,7 +44,9 @@ extern "C" { #include <cdda_interface.h> } - +#ifdef __OpenBSD__ +#undef swap16 +#endif inline int16_t swap16 (int16_t i) { return (((i >> 8) & 0xFF) | ((i << 8) & 0xFF00)); |