]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
usb_stream: Fix build with glibc 2.16
authorTakashi Iwai <tiwai@suse.de>
Tue, 31 Jul 2012 09:18:54 +0000 (11:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 31 Jul 2012 09:18:54 +0000 (11:18 +0200)
_GNU_SOURCE needs to be defined at first.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
usb_stream/pcm_usb_stream.c

index b1fd68f25701c44a14784b95312074933c1b2310..822084902382c1b96bf039696ba202ede5c5e743 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <byteswap.h>
 #define _GNU_SOURCE
+#include <byteswap.h>
 #include <sys/mman.h>
 #include <sys/shm.h>
 #include <sys/ioctl.h>