@@ -4,7 +4,6 @@
#include <asm/socket.h> /* arch-dependent defines */
#include <linux/sockios.h> /* the SIOCxxx I/O controls */
-#include <linux/uio.h> /* iovec support */
#include <linux/types.h> /* pid_t */
#include <linux/compiler.h> /* __user */
#include <uapi/linux/socket.h>
@@ -44,6 +43,8 @@ struct linger {
* belong in an obscure libc emulation or the bin.
*/
+struct iovec;
+
struct msghdr {
void * msg_name; /* Socket name */
int msg_namelen; /* Length of name */
@@ -13,6 +13,7 @@
#include <linux/keyctl.h>
#include <linux/compat.h>
#include <linux/slab.h>
+#include <uapi/linux/uio.h>
#include "internal.h"
/*