Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 21712:c64fc56f6072 legacy-trunk
Include <unistd.h> in Python.h. Fixes #500924.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 12 Jan 2002 11:05:12 +0000 |
| parents | 87fa6e9bd77e |
| children | 070d392042e3 |
comparison
equal
deleted
inserted
replaced
| 21711:437393e780cb | 21712:c64fc56f6072 |
|---|---|
| 17 #include "Python.h" | 17 #include "Python.h" |
| 18 #include "compile.h" | 18 #include "compile.h" |
| 19 #include "frameobject.h" | 19 #include "frameobject.h" |
| 20 | 20 |
| 21 #include "osdefs.h" | 21 #include "osdefs.h" |
| 22 | |
| 23 #ifdef HAVE_UNISTD_H | |
| 24 #include <unistd.h> | |
| 25 #endif | |
| 26 | 22 |
| 27 #ifdef MS_COREDLL | 23 #ifdef MS_COREDLL |
| 28 extern void *PyWin_DLLhModule; | 24 extern void *PyWin_DLLhModule; |
| 29 /* A string loaded from the DLL at startup: */ | 25 /* A string loaded from the DLL at startup: */ |
| 30 extern const char *PyWin_DLLVersionString; | 26 extern const char *PyWin_DLLVersionString; |
