diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2011-03-18 04:56:53 (GMT) |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2011-03-18 04:56:53 (GMT) |
commit | 4d076da4dee054c83cfd851a2f49a1bb40eaf638 (patch) | |
tree | 4277765722501803da67f3593b9183950a80a5f9 /Modules | |
parent | 8d2813442e75cf0f5b8e19bed1f7d6628a9bc288 (diff) | |
download | cpython-4d076da4dee054c83cfd851a2f49a1bb40eaf638.zip cpython-4d076da4dee054c83cfd851a2f49a1bb40eaf638.tar.gz cpython-4d076da4dee054c83cfd851a2f49a1bb40eaf638.tar.bz2 |
Issue #11592: Fix compilation warnings in os module.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0de6fdf..f873a7a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -59,6 +59,10 @@ corresponding Unix manual entries for more information on calls."); #include "osdefs.h" #endif +#ifdef HAVE_SYS_UIO_H +#include <sys/uio.h> +#endif + #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif /* HAVE_SYS_TYPES_H */ @@ -103,10 +107,6 @@ corresponding Unix manual entries for more information on calls."); #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif - -#ifdef HAVE_SYS_UIO_H -#include <sys/uio.h> -#endif #endif /* Various compilers have only certain posix functions */ |