comparison Include/Python.h @ 21713:e223397b26fa 2.2

Include <unistd.h> in Python.h. Fixes #500924.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 12 Jan 2002 11:13:24 +0000
parents ad7b4424aab6
children fb45791150d1
comparison
equal deleted inserted replaced
21703:4027361e7956 21713:e223397b26fa
46 46
47 #include <string.h> 47 #include <string.h>
48 #include <errno.h> 48 #include <errno.h>
49 #ifdef HAVE_STDLIB_H 49 #ifdef HAVE_STDLIB_H
50 #include <stdlib.h> 50 #include <stdlib.h>
51 #endif
52 #ifdef HAVE_UNISTD_H
53 #include <unistd.h>
51 #endif 54 #endif
52 55
53 /* CAUTION: Build setups should ensure that NDEBUG is defined on the 56 /* CAUTION: Build setups should ensure that NDEBUG is defined on the
54 * compiler command line when building Python in release mode; else 57 * compiler command line when building Python in release mode; else
55 * assert() calls won't be removed. 58 * assert() calls won't be removed.