diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-06-02 17:36:20 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-06-02 17:36:20 +0200 |
commit | b018208d5901873a374d08a98cf31e3bb89d12d0 (patch) | |
tree | be42b87e5d9811f572eebf1204f11816b59c765a /src | |
parent | b3875624ba409160da6ad9292b5ec1e1ec5f2bef (diff) |
UDP fixed on FreeBSD
readv and writev are defined in sys/uio.h according to POSIX
standard. Not including this header caused build to fail on
FreeBSD. This patch fixed the problem.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/udp_sender.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udp_sender.cpp b/src/udp_sender.cpp index ddcffbb..934eed7 100644 --- a/src/udp_sender.cpp +++ b/src/udp_sender.cpp @@ -20,6 +20,7 @@ #include "platform.hpp" #include <stdlib.h> +#include <sys/uio.h> #include "io_thread.hpp" #include "udp_sender.hpp" |