Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix build on OpenBSD #391

Closed
hboetes opened this Issue Feb 15, 2013 · 0 comments

Comments

Projects
None yet
2 participants

hboetes commented Feb 15, 2013

network.cc: In member function 'std::string Network::Connection::recv_one(int, bool)':
network.cc:419: error: aggregate 'iovec msg_iovec' has incomplete type and cannot be defined
*** Error code 1

This issue is fixed by this patch:

--- src/network/network.cc.orig Fri Oct 19 21:45:18 2012
+++ src/network/network.cc      Fri Feb 15 22:19:12 2013
@@ -34,6 +34,7 @@

 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/uio.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <assert.h>

@keithw keithw closed this in 1bd38e6 Mar 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment