Issue #11592: Fix compilation warnings in os module.

This commit is contained in:
Ross Lagerwall 2011-03-18 06:56:53 +02:00
parent 8d2813442e
commit 4d076da4de

View file

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