Commit 94909963 authored by Guido van Rossum's avatar Guido van Rossum

Move #include <sys/param.h> to before osdefs.h (Donn Cave).

parent a869314d
......@@ -33,6 +33,11 @@ PERFORMANCE OF THIS SOFTWARE.
/* If no dynamic linking is supported, this file still generates some code! */
#include "Python.h"
#ifdef HAVE_SYS_PARAM_H
/* osdefs.h will define MAXPATHLEN if it's not already defined. */
#include <sys/param.h>
#endif
#include "osdefs.h"
#include "importdl.h"
......@@ -89,10 +94,6 @@ typedef int (* APIENTRY dl_funcptr)();
#define LONG_EXT ".dll"
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#if defined(__NetBSD__) && (NetBSD < 199712)
#define DYNAMIC_LINK
#define USE_SHLIB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment