From 60fee223a0a27439814547aee438bb5c53e44437 Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Sun, 29 Jan 2006 19:29:29 +0000 Subject: fixed compilation for main pd svn path=/trunk/externals/tb/; revision=4517 --- sndfiler/src/Makefile.pd_main | 6 +++--- sndfiler/src/sndfiler.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sndfiler/src/Makefile.pd_main b/sndfiler/src/Makefile.pd_main index b56b4b3..f5a70e5 100755 --- a/sndfiler/src/Makefile.pd_main +++ b/sndfiler/src/Makefile.pd_main @@ -4,7 +4,7 @@ # this should point to the directory which contains # m_pd.h and g_canvas.h -PD_SCR = /home/holzi/pd-0.39-1/src +PD_SCR = /usr/local/src/pd/src #PD_SCR = c:/pd/src # this is the pd directory, usually /usr/lib/pd @@ -19,10 +19,10 @@ SNDFILE_SRC = /usr/include # the directory, where libsndfile is located # (in linux it' normally not necessary, in windows it's # normally in c:/windwos/system or so) -SNDFILE_PATH = c:/windows/system +#SNDFILE_PATH = c:/windows/system # path to threadlib.h -THREADLIB_SRC = /home/Georg/pd-cvs/externals/grh/threadlib/src +THREADLIB_SRC = /home/holzi/pd-cvs/externals/grh/threadlib/src #THREADLIB_SRC = c:/Georg/pd-cvs/externals/grh/threadlib/src # path to threadlib.pd_linux/dll/pd_darwin diff --git a/sndfiler/src/sndfiler.c b/sndfiler/src/sndfiler.c index 8c4dbe5..507510a 100755 --- a/sndfiler/src/sndfiler.c +++ b/sndfiler/src/sndfiler.c @@ -46,7 +46,6 @@ struct _garray #include "m_fifo.h" #include "pthread.h" -#include "semaphore.h" #endif /* USE_PD_MAIN */ @@ -57,6 +56,7 @@ struct _garray #include "stdlib.h" #include "sched.h" /* for thread priority */ #include +#include "semaphore.h" /* for alloca */ #ifdef MSW -- cgit v1.2.1