diff options
-rw-r--r-- | src/netrec.c | 7 | ||||
-rw-r--r-- | src/netserver.c | 9 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/netrec.c b/src/netrec.c index ca89ccb..0c682e2 100644 --- a/src/netrec.c +++ b/src/netrec.c @@ -22,7 +22,14 @@ /* */
/* ---------------------------------------------------------------------------- */
+#include "m_pd.h"
+
+#if defined(PD_VERSION) && (PD_MAJOR_VERSION >= 0 && PD_MINOR_VERSION > 36)
+#include <m_imp.h>
+#include <s_stuff.h>
+#else
#include "m_imp.h"
+#endif
#include <sys/types.h>
#include <stdarg.h>
diff --git a/src/netserver.c b/src/netserver.c index 97c3a5c..9c14ab9 100644 --- a/src/netserver.c +++ b/src/netserver.c @@ -23,7 +23,14 @@ /* */
/* ---------------------------------------------------------------------------- */
-#include "m_imp.h"
+#include <m_pd.h>
+#if defined(PD_VERSION) && (PD_MAJOR_VERSION >= 0 && PD_MINOR_VERSION > 36)
+#include <m_imp.h>
+#include <s_stuff.h>
+#else
+#include <m_imp.h>
+#endif
+
#include <sys/types.h>
#include <stdarg.h>
|