opnsense-ports/audio/csound6/files/patch-InOut-rtalsa.c
Franco Fichtner 830dcbf7b8 */*: sync with upstream
Taken from: FreeBSD
2015-06-10 07:52:51 +02:00

27 lines
430 B
C

--- InOut/rtalsa.c.orig 2015-04-25 19:06:22 UTC
+++ InOut/rtalsa.c
@@ -23,6 +23,7 @@
02111-1307 USA
*/
+/*
#ifndef _ISOC99_SOURCE
#define _ISOC99_SOURCE 1
#endif
@@ -32,6 +33,7 @@
#ifndef _BSD_SOURCE
#define _BSD_SOURCE 1
#endif
+*/
#include "csdl.h"
@@ -50,6 +52,8 @@
#include <signal.h>
#include <sys/mman.h>
#include <sys/resource.h>
+#include <stdlib.h>
+#include <sys/fcntl.h>
#include "soundio.h"