Warning: Can't synchronize with the repository (Unsupported version control system "svn": "/usr/lib/libsvn_client-1.so.0: undefined symbol: svn_mergeinfo__filter_catalog_by_ranges" ). Look in the Trac log for more information.

Ticket #9: pa_unix_oss.c.diff

File pa_unix_oss.c.diff, 0.7 KB (added by rossb, 2 years ago)

diff submitted by Diane Bruce

  • src/hostapi/oss/pa_unix_oss.c

    old new  
    11/* 
    2  * $Id: pa_unix_oss.c 1016 2006-05-17 08:02:24Z aknudsen $ 
     2 * $Id: pa_unix_oss.c 247 2006-08-09 19:59:20Z va3db $ 
    33 * PortAudio Portable Real-Time Audio Library 
    44 * Latest Version at: http://www.portaudio.com 
    55 * OSS implementation by: 
     
    4242#include <sys/ioctl.h> 
    4343#include <unistd.h> 
    4444#include <pthread.h> 
     45#ifdef __linux__ 
    4546#include <alloca.h> 
    4647#include <malloc.h> 
     48#else 
     49/* This is the new preferred include instead of malloc.h */ 
     50#include <stdlib.h> 
     51#endif 
    4752#include <assert.h> 
    4853#include <errno.h> 
    4954#include <sys/types.h>