Fix FTBFS in tdeioslave/audiocd/plugins/wav on openbsd

Signed-off-by: François Andriot <francois.andriot@free.fr>
pull/1/head
François Andriot 10 years ago committed by Slávek Banko
parent 79546240dc
commit e9500088e5

@ -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));

Loading…
Cancel
Save