| 1 |
https://bugs.gentoo.org/426254
|
| 2 |
|
| 3 |
From 81ae188c8d1b42d187b97846e3b31479a00d4720 Mon Sep 17 00:00:00 2001
|
| 4 |
From: Takashi Iwai <tiwai@suse.de>
|
| 5 |
Date: Tue, 31 Jul 2012 11:18:54 +0200
|
| 6 |
Subject: [PATCH] usb_stream: Fix build with glibc 2.16
|
| 7 |
|
| 8 |
_GNU_SOURCE needs to be defined at first.
|
| 9 |
|
| 10 |
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
| 11 |
---
|
| 12 |
usb_stream/pcm_usb_stream.c | 2 +-
|
| 13 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
| 14 |
|
| 15 |
diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c
|
| 16 |
index b1fd68f..8220849 100644
|
| 17 |
--- a/usb_stream/pcm_usb_stream.c
|
| 18 |
+++ b/usb_stream/pcm_usb_stream.c
|
| 19 |
@@ -18,8 +18,8 @@
|
| 20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
| 21 |
*/
|
| 22 |
|
| 23 |
-#include <byteswap.h>
|
| 24 |
#define _GNU_SOURCE
|
| 25 |
+#include <byteswap.h>
|
| 26 |
#include <sys/mman.h>
|
| 27 |
#include <sys/shm.h>
|
| 28 |
#include <sys/ioctl.h>
|
| 29 |
--
|
| 30 |
1.7.9.7
|
| 31 |
|