summarylogtreecommitdiffstats
path: root/0000-readv.patch
blob: 27dd29990ec0d51863308eac2e870b5a22649d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/libros/transport/transport_udp.cpp b/src/libros/transport/transport_udp.cpp
index 848893b..2cc3d7f 100644
--- a/src/libros/transport/transport_udp.cpp
+++ b/src/libros/transport/transport_udp.cpp
@@ -40,7 +40,7 @@
 #include <boost/bind.hpp>

 #include <fcntl.h>
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__linux__)
   // For readv() and writev()
   #include <sys/types.h>
   #include <sys/uio.h>