diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-01-12 11:13:24 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-01-12 11:13:24 (GMT) |
commit | 0d21e644096c700d9cf87038e736dd5ae0f738af (patch) | |
tree | 8c277ea2814272a01b3e2705aec3e4284e72f24d /Include | |
parent | 2380a9e13fbcc0b79bdf66869c7589c740236539 (diff) | |
download | cpython-0d21e644096c700d9cf87038e736dd5ae0f738af.zip cpython-0d21e644096c700d9cf87038e736dd5ae0f738af.tar.gz cpython-0d21e644096c700d9cf87038e736dd5ae0f738af.tar.bz2 |
Include <unistd.h> in Python.h. Fixes #500924.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |