mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-108765: Python.h no longer includes <unistd.h> (#108783)
This commit is contained in:
parent
4f9b706c6f
commit
594b00057e
16 changed files with 55 additions and 42 deletions
|
@ -269,7 +269,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
|
|||
#ifdef HAVE_NETDB_H
|
||||
# include <netdb.h>
|
||||
#endif
|
||||
# include <unistd.h>
|
||||
#include <unistd.h> // close()
|
||||
|
||||
/* Headers needed for inet_ntoa() and inet_addr() */
|
||||
# include <arpa/inet.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue