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

This commit is contained in:
Guido van Rossum 1998-04-10 23:45:14 +00:00
parent 8766a7797e
commit cecadc469b
1 changed files with 5 additions and 4 deletions

View File

@ -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