csound/csound-alsa-fix.patch

15 lines
319 B
Diff
Raw Normal View History

Index: InOut/rtalsa.c
===================================================================
--- InOut/rtalsa.c.orig
+++ InOut/rtalsa.c
@@ -28,6 +28,9 @@
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE 1
#endif
+#ifndef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 1
+#endif
#ifndef _BSD_SOURCE
#define _BSD_SOURCE 1
#endif