[PATCH] Fix implicit declaration of writev(2) in ne_socket.c

Brad Smith brad at comstyle.com
Mon Sep 3 14:30:28 EDT 2012


The following diff fixes an implicit declaration warning for writev(2) in
ne_socket.c.


Index: src/ne_socket.c
===================================================================
--- src/ne_socket.c	(revision 1895)
+++ src/ne_socket.c	(working copy)
@@ -27,6 +27,7 @@
 #include "config.h"
 
 #include <sys/types.h>
+#include <sys/uio.h> /* writev(2) */
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the neon mailing list