From: Ross Lagerwall Date: Fri, 18 Mar 2011 04:56:53 +0000 (+0200) Subject: Issue #11592: Fix compilation warnings in os module. X-Git-Tag: v3.3.0a1~2891^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d076da4dee054c83cfd851a2f49a1bb40eaf638;p=thirdparty%2FPython%2Fcpython.git Issue #11592: Fix compilation warnings in os module. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0de6fdfe888e..f873a7a774ec 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 +#endif + #ifdef HAVE_SYS_TYPES_H #include #endif /* HAVE_SYS_TYPES_H */ @@ -103,10 +107,6 @@ corresponding Unix manual entries for more information on calls."); #ifdef HAVE_SYS_SOCKET_H #include #endif - -#ifdef HAVE_SYS_UIO_H -#include -#endif #endif /* Various compilers have only certain posix functions */