commit | cdc445122208cb90a59a468a7396b227e223c43a | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat Jan 12 11:05:12 2002 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat Jan 12 11:05:12 2002 +0000 |
tree | ad9ca70705ab2c5a952aeeae91f0160394f98604 | |
parent | edb60a7ba9daa607a8021f2823e6bbd8fc942711 [diff] [blame] |
Include <unistd.h> in Python.h. Fixes #500924.
diff --git a/Include/Python.h b/Include/Python.h index 0f07e36..9724fb7 100644 --- a/Include/Python.h +++ b/Include/Python.h
@@ -49,6 +49,9 @@ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif /* CAUTION: Build setups should ensure that NDEBUG is defined on the * compiler command line when building Python in release mode; else