summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-11-05 02:45:59 +0000
committerTim Peters <tim.peters@gmail.com>2001-11-05 02:45:59 +0000
commit82c91cc55cbe625afbc22c61c550a044a8cefee0 (patch)
treebc4d35ae2f2f48ee62b0b6f52af3b1893923eaec /Python/importdl.h
parented503bfcd0a6fc50c93d5a0b2c0c62159a71da50 (diff)
downloadcpython-82c91cc55cbe625afbc22c61c550a044a8cefee0.tar.gz
SF patch 473749 compile under OS/2 VA C++, from Michael Muller.
Changes enabling Python to compile under OS/2 Visual Age C++.
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index 4193620bd2..76fd05d293 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -38,6 +38,7 @@ extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
typedef FARPROC dl_funcptr;
#else
#ifdef PYOS_OS2
+#include <os2def.h>
typedef int (* APIENTRY dl_funcptr)();
#else
typedef void (*dl_funcptr)(void);