]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fix compile on big-endian arch
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Dec 2005 15:11:42 +0000 (15:11 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Dec 2005 15:11:42 +0000 (15:11 +0000)
Fix compile on big-endian arch.

speaker-test/speaker-test.c

index b1a4e2aea3dbb87b0b75265b4142f47499d6bbbf..3d4afe98f72c685f08289d40fc403f52b0f4c18c 100644 (file)
@@ -47,6 +47,7 @@
 #ifdef ENABLE_NLS
 #include <locale.h>
 #endif
+#include <byteswap.h>
 
 #define ALSA_PCM_NEW_HW_PARAMS_API
 #define ALSA_PCM_NEW_SW_PARAMS_API