aboutsummaryrefslogtreecommitdiff
path: root/openpatch.c
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-06-23 13:12:22 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-06-23 13:12:22 +0000
commit345ee7953340e85f65cf1d00ab3bc25b55ee525f (patch)
treed3d0b471af34db899c788cdccf7ce9e7717d314e /openpatch.c
parenta2d37998c5ea1c5712cb15d9d9ad885371ee4b5d (diff)
remove pd internal header files, compile against files in pd distribution
svn path=/trunk/externals/ext13/; revision=734
Diffstat (limited to 'openpatch.c')
-rw-r--r--openpatch.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/openpatch.c b/openpatch.c
index 3828f71..f1979bd 100644
--- a/openpatch.c
+++ b/openpatch.c
@@ -1,11 +1,17 @@
#include "ext13.h"
-//#include "m_pd.h"
+#include "m_pd.h"
+
+#ifndef PD_MAJOR_VERSION
+#include "s_stuff.h"
+#else
#include "m_imp.h"
+#endif
+
#include <sys/stat.h>
-#include <stdio.h>
+#include <stdio.h>
#ifndef NT
#include <unistd.h>
-#endif
+#endif
#include <string.h>
#ifdef NT