mirror of https://github.com/python/cpython
Include stdlib.h or declare getenv
This commit is contained in:
parent
485f2da5a1
commit
468fc6af68
|
@ -1,6 +1,12 @@
|
|||
#include "Python.h"
|
||||
#include "osdefs.h"
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
extern char *getenv Py_PROTO((const char *));
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef PYTHONPATH
|
||||
#define PYTHONPATH ".:/usr/local/lib/python"
|
||||
|
|
Loading…
Reference in New Issue