summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-03 16:24:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-03 16:24:02 +0200
commitcd219843154d1140e496d941052ebb46ffb78df5 (patch)
tree53fb4c4e10a17c071d93fb89c13f489383e92fd0 /src
parent794619ffb4db4af0ddaf890cebe8efd14ffaf5de (diff)
downloadsocket_wrapper-cd219843154d1140e496d941052ebb46ffb78df5.tar.gz
socket_wrapper-cd219843154d1140e496d941052ebb46ffb78df5.tar.xz
socket_wrapper-cd219843154d1140e496d941052ebb46ffb78df5.zip
src: Add missing include for sys/uio.h.
Diffstat (limited to 'src')
-rw-r--r--src/socket_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 4465d34..53ca288 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -50,6 +50,7 @@
#ifdef HAVE_SYS_FILIO_H
#include <sys/filio.h>
#endif
+#include <sys/uio.h>
#include <errno.h>
#include <sys/un.h>
#include <netinet/in.h>
@@ -57,11 +58,11 @@
#include <arpa/inet.h>
#include <fcntl.h>
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
+#include <unistd.h>
enum swrap_dbglvl_e {
SWRAP_LOG_ERROR = 0,