$OpenBSD: patch-yasocket_cxx,v 1.3 2017/08/28 08:31:29 ajacoutot Exp $

Index: yasocket.cxx
--- yasocket.cxx.orig
+++ yasocket.cxx
@@ -21,6 +21,7 @@
 #include "Toolkit.h"
 #include "snmp.h"
 #include "gk.h"
+#include <unistd.h>
 
 #ifdef _WIN32
 #	ifndef SHUT_RDWR
