missing include for clang

This commit is contained in:
espie 2017-05-22 14:02:55 +00:00
parent 7a49efdef9
commit f8f2795776

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_lib_util_watch_socket_cc,v 1.1 2017/05/22 14:02:55 espie Exp $
Index: src/lib/util/watch_socket.cc
--- src/lib/util/watch_socket.cc.orig
+++ src/lib/util/watch_socket.cc
@@ -10,6 +10,7 @@
#include <util/watch_socket.h>
#include <fcntl.h>
+#include <unistd.h>
#include <errno.h>
#include <sstream>
#include <string.h>