Include stdlib.h or declare getenv

This commit is contained in:
Guido van Rossum 1996-02-25 04:50:31 +00:00
parent 485f2da5a1
commit 468fc6af68
1 changed files with 6 additions and 0 deletions

View File

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