From: Abramo Bagnara Date: Wed, 7 Mar 2001 18:57:01 +0000 (+0000) Subject: Attempt to fix under glibc 2.2 X-Git-Tag: v1.0.3~83 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=71ea755f598ff4a8a0314760bded34c96e17fd5c;p=alsa-oss.git Attempt to fix under glibc 2.2 --- 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)