summaryrefslogtreecommitdiffstats
path: root/tdeioslave/audiocd
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-11-26 19:48:24 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-11-26 19:48:24 +0100
commit9f3f38046c3aba667347568cd53db32f1fe1a2b0 (patch)
tree886529e2e44b4f3e2c9a0453ef63026d575761e7 /tdeioslave/audiocd
parente9500088e5ca7e955a83e34d2d044ee0cdb04590 (diff)
downloadtdemultimedia-9f3f38046c3aba667347568cd53db32f1fe1a2b0.tar.gz
tdemultimedia-9f3f38046c3aba667347568cd53db32f1fe1a2b0.zip
Fix FTBFS in tdeioslave/audiocd/plugins/lame on openbsd
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'tdeioslave/audiocd')
-rw-r--r--tdeioslave/audiocd/plugins/lame/encoderlame.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp
index 0e2ddef3..8af27620 100644
--- a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp
+++ b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp
@@ -17,7 +17,14 @@
*/
#include <config.h>
+
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
+
#include "encoderlame.h"
#include "encoderlameconfig.h"
#include "audiocd_lame_encoder.h"