$NetBSD: patch-ae,v 1.1 2005/10/04 19:23:39 joerg Exp $ --- csound/soundio.c.orig 2005-07-22 18:43:26.000000000 +0000 +++ csound/soundio.c @@ -24,7 +24,7 @@ #include "cs.h" /* SOUNDIO.C */ #include "soundio.h" #include -#if defined(LINUX) || defined(NETBSD) || defined(__MACH__) +#if defined(LINUX) || defined(NETBSD) || defined(__MACH__) || defined(__DragonFly__) #include #endif #ifdef mills_macintosh @@ -102,7 +102,7 @@ extern int audiofd; #ifdef PIPES FILE* pin=NULL, *pout=NULL; /*sbrandon: added NeXT to line below*/ -# if defined(SGI) || defined(LINUX) || defined(__BEOS__) || defined(NeXT) || defined(__MACH__) || defined(NETBSD) +# if defined(SGI) || defined(LINUX) || defined(__BEOS__) || defined(NeXT) || defined(__MACH__) || defined(NETBSD) || defined(__DragonFly__) # define _popen popen # define _pclose pclose # endif @@ -238,7 +238,7 @@ static int audread(char *inbuf, int nbyt return(sreadin(isfd,inbuf,nbytes,p)); } -#if !defined(SYMANTEC) && !defined(mac_classic) && !defined(LINUX) && !defined(__BEOS__) && !defined(__MACH__) && !defined(NETBSD) +#if !defined(SYMANTEC) && !defined(mac_classic) && !defined(LINUX) && !defined(__BEOS__) && !defined(__MACH__) && !defined(NETBSD) && !defined(__DragonFly__) extern int write(int, const void*, unsigned int); #endif