gh-108765: Python.h no longer includes <unistd.h> (#108783)

This commit is contained in:
Victor Stinner 2023-09-02 16:50:18 +02:00 committed by GitHub
parent 4f9b706c6f
commit 594b00057e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 55 additions and 42 deletions

View file

@ -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>