$OpenBSD: patch-src_irc_dcc_cpp,v 1.3 2017/05/13 18:38:25 espie Exp $

Index: src/irc/dcc.cpp
--- src/irc/dcc.cpp.orig
+++ src/irc/dcc.cpp
@@ -23,6 +23,7 @@
 #include <string.h>
 #include <sys/types.h>
 #include <netinet/in.h>
+#include <unistd.h>
 
 #include "dcc.h"
 #include "nick.h"
