]> git.alsa-project.org Git - alsa-oss.git/commitdiff
Attempt to fix under glibc 2.2
authorAbramo Bagnara <abramo@alsa-project.org>
Wed, 7 Mar 2001 18:57:01 +0000 (18:57 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Wed, 7 Mar 2001 18:57:01 +0000 (18:57 +0000)
alsa-oss.c

index f8600cbbdfa0f2bf3ff7da4933fbaed5f15e3ea6..e3a2147cd700d36c5c11fbdc5183569fac8753bd 100644 (file)
@@ -19,6 +19,8 @@
  *
  */
 
+#define _GNU_SOURCE
+
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/stat.h>
@@ -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)