aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2006-01-29 19:29:29 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:12:01 +0200
commit60fee223a0a27439814547aee438bb5c53e44437 (patch)
tree4400e904408531f2d1df4e63fbf5ccd63d722978
parentc9f622385bb18ecfe16e7810507d5ddc1330e468 (diff)
fixed compilation for main pd
svn path=/trunk/externals/tb/; revision=4517
-rwxr-xr-xsndfiler/src/Makefile.pd_main6
-rwxr-xr-xsndfiler/src/sndfiler.c2
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 <string.h>
+#include "semaphore.h"
/* for alloca */
#ifdef MSW