summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-05-18 09:35:07 +0200
committerLinus Nordberg <linus@nordu.net>2011-05-18 09:35:07 +0200
commit2adc46847b014a9a3d2086d1441dfd6748c0ff8c (patch)
tree7171e2f409d32dcea620c3003f6fc8bdf6954a25 /lib
parentb6cbbcfa4b40bbbf29cfe62f35e9f672684d37d0 (diff)
Compile on BSD.
Thanks to Luke Howard for reporting.
Diffstat (limited to 'lib')
-rw-r--r--lib/rsp_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rsp_util.c b/lib/rsp_util.c
index 22b8352..7960eae 100644
--- a/lib/rsp_util.c
+++ b/lib/rsp_util.c
@@ -12,6 +12,7 @@
*/
#include <sys/socket.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>