diff options
author | François Andriot <francois.andriot@free.fr> | 2014-11-26 19:47:39 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-11-26 19:47:39 +0100 |
commit | e9500088e5ca7e955a83e34d2d044ee0cdb04590 (patch) | |
tree | 2edca73719df780774c05fbe3f8a412cad5cf76f | |
parent | 79546240dcac674ef0155038b57d760890b15d29 (diff) | |
download | tdemultimedia-e9500088e5ca7e955a83e34d2d044ee0cdb04590.tar.gz tdemultimedia-e9500088e5ca7e955a83e34d2d044ee0cdb04590.zip |
Fix FTBFS in tdeioslave/audiocd/plugins/wav on openbsd
Signed-off-by: François Andriot <francois.andriot@free.fr>
-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)); |