blob: e6fcf9bc3a8903d9c342ae093a71a800ccccd39c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-common_socket_utils.cc,v 1.2 2016/04/30 14:14:07 schmonz Exp $
Fix compilation error on NetBSD-current (as of 2015-05-26).
--- common/socket_utils.cc.orig 2015-05-21 05:57:01.000000000 +0000
+++ common/socket_utils.cc
@@ -28,6 +28,7 @@ using namespace std;
#ifndef __WIN32__
# include <sys/socket.h>
+# include <sys/time.h>
#else
# include "safeerrno.h"
|