freebsd-ports/audio/csound6/files/patch-InOut-rtalsa.c
Danilo Egea Gondolfo 411bac0c65 - Copy from audio/csound and apply the patch. The API of the version 6 of csound is not compatible of version 5.
- Update from 5.18.02 to 6.02
- Add stage support
- Use options helpers

PR:		ports/185351
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2014-01-10 18:05:29 +00:00

27 lines
486 B
C

--- InOut/rtalsa.c.orig 2011-12-22 19:41:53.000000000 +0900
+++ InOut/rtalsa.c 2011-12-27 23:53:00.000000000 +0900
@@ -23,6 +23,7 @@
02111-1307 USA
*/
+/*
#ifndef _ISOC99_SOURCE
#define _ISOC99_SOURCE 1
#endif
@@ -39,6 +40,7 @@
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 1
#endif
+*/
#include "csdl.h"
@@ -57,6 +59,8 @@
#include <signal.h>
#include <sys/mman.h>
#include <sys/resource.h>
+#include <stdlib.h>
+#include <sys/fcntl.h>
#include "soundio.h"