summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2011-03-18 04:56:53 (GMT)
committerRoss Lagerwall <rosslagerwall@gmail.com>2011-03-18 04:56:53 (GMT)
commit4d076da4dee054c83cfd851a2f49a1bb40eaf638 (patch)
tree4277765722501803da67f3593b9183950a80a5f9 /Modules/posixmodule.c
parent8d2813442e75cf0f5b8e19bed1f7d6628a9bc288 (diff)
downloadcpython-4d076da4dee054c83cfd851a2f49a1bb40eaf638.zip
cpython-4d076da4dee054c83cfd851a2f49a1bb40eaf638.tar.gz
cpython-4d076da4dee054c83cfd851a2f49a1bb40eaf638.tar.bz2
Issue #11592: Fix compilation warnings in os module.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c8
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 */