mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Include <unistd.h> in Python.h. Fixes #500924.
This commit is contained in:
parent
edb60a7ba9
commit
cdc4451222
30 changed files with 4 additions and 109 deletions
|
@ -5,7 +5,7 @@
|
|||
which is included by this file dependent on config settings.
|
||||
Stuff shared by all thread_*.h files is collected here. */
|
||||
|
||||
#include "pyconfig.h"
|
||||
#include "Python.h"
|
||||
|
||||
/* pyconfig.h may or may not define DL_IMPORT */
|
||||
#ifndef DL_IMPORT /* declarations for DLL import/export */
|
||||
|
@ -24,10 +24,6 @@ extern char *getenv(const char *);
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __DGUX
|
||||
#define _USING_POSIX4A_DRAFT6
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue