From 71ea755f598ff4a8a0314760bded34c96e17fd5c Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Wed, 7 Mar 2001 18:57:01 +0000 Subject: [PATCH] Attempt to fix under glibc 2.2 --- alsa-oss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsa-oss.c b/alsa-oss.c index f8600cb..e3a2147 100644 --- a/alsa-oss.c +++ b/alsa-oss.c @@ -19,6 +19,8 @@ * */ +#define _GNU_SOURCE + #include #include #include @@ -39,8 +41,6 @@ snd_pcm_uframes_t _snd_pcm_boundary(snd_pcm_t *pcm); snd_pcm_uframes_t _snd_pcm_mmap_hw_ptr(snd_pcm_t *pcm); -#define _GNU_SOURCE - static int debug = 0; #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) -- 2.47.1