mirror of https://github.com/python/cpython
Move #include <sys/param.h> to before osdefs.h (Donn Cave).
This commit is contained in:
parent
8766a7797e
commit
cecadc469b
|
@ -33,6 +33,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
/* If no dynamic linking is supported, this file still generates some code! */
|
/* If no dynamic linking is supported, this file still generates some code! */
|
||||||
|
|
||||||
#include "Python.h"
|
#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 "osdefs.h"
|
||||||
#include "importdl.h"
|
#include "importdl.h"
|
||||||
|
|
||||||
|
@ -89,10 +94,6 @@ typedef int (* APIENTRY dl_funcptr)();
|
||||||
#define LONG_EXT ".dll"
|
#define LONG_EXT ".dll"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_PARAM_H
|
|
||||||
#include <sys/param.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__NetBSD__) && (NetBSD < 199712)
|
#if defined(__NetBSD__) && (NetBSD < 199712)
|
||||||
#define DYNAMIC_LINK
|
#define DYNAMIC_LINK
|
||||||
#define USE_SHLIB
|
#define USE_SHLIB
|
||||||
|
|
Loading…
Reference in New Issue