--- kdemultimedia-kioslaves-3.5.8/kioslave/audiocd/plugins/lame/encoderlame.cpp.old 2007-10-21 10:16:12 -0600 +++ kdemultimedia-kioslaves-3.5.8/kioslave/audiocd/plugins/lame/encoderlame.cpp 2007-10-21 09:50:00 -0600 @@ -17,7 +17,11 @@ */ #include +#ifdef HAVE_MACHINE_ENDIAN_H +#include +#else #include +#endif #include "encoderlame.h" #include "encoderlameconfig.h" #include "audiocd_lame_encoder.h" @@ -221,6 +225,12 @@ // -x bitswap // -r raw/pcm // -s 44.1 (because it is raw you have to specify this) +#if !defined(__BYTE_ORDER) && defined(_BYTE_ORDER) +#define __BYTE_ORDER _BYTE_ORDER +#endif +#if !defined(__LITTLE_ENDIAN) && defined(_LITTLE_ENDIAN) +#define __LITTLE_ENDIAN _LITTLE_ENDIAN +#endif #if __BYTE_ORDER == __LITTLE_ENDIAN *(d->currentEncodeProcess) << "lame" << "--verbose" << "-x" << "-r" << "-s" << "44.1"; #else