summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-06-30 02:42:34 +0000
committerEric Wong <normalperson@yhbt.net>2008-06-30 02:42:34 +0000
commit3a932bf3888d751f9cbf1df33800f38e6013af90 (patch)
treed83c7f6a82323e5384f8510a19e399a7ae3dc55e /src
parent72434d212ccdcccd7f5e964108bb7d0f2d540744 (diff)
os_compat.h: add sys/uio.h for writev/readv
vectored I/O will be useful with our ring buffer lib git-svn-id: https://svn.musicpd.org/mpd/trunk@7385 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/os_compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_compat.h b/src/os_compat.h
index 54d55ed7f..7cd47cbf8 100644
--- a/src/os_compat.h
+++ b/src/os_compat.h
@@ -44,6 +44,7 @@
#include <fcntl.h>
#include <stdio.h>
+#include <sys/uio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>