aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-06-10 16:24:35 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-06-10 16:24:35 +0000
commit5612e8e36c9cfc0ca2c4c01d98ac9afabadb98fb (patch)
tree947e17722fb5192c6d3c615f6f792508d8eab1d9 /src
parent61b28846b99a8753767a9684aab35781365975a4 (diff)
fixed compilation for 0.37
svn path=/trunk/externals/maxlib/; revision=690
Diffstat (limited to 'src')
-rw-r--r--src/netrec.c7
-rw-r--r--src/netserver.c9
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>