aboutsummaryrefslogtreecommitdiff
path: root/openpatch.c
diff options
context:
space:
mode:
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