missing unistd

This commit is contained in:
espie 2017-05-13 18:38:25 +00:00
parent 2d2ae2280e
commit d9fd8a04bb
4 changed files with 45 additions and 4 deletions

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_im_request_cpp,v 1.1 2017/05/13 18:38:25 espie Exp $
Index: src/im/request.cpp
--- src/im/request.cpp.orig
+++ src/im/request.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <string.h>
+#include <unistd.h>
#include "request.h"
#include "buddy.h"

View File

@ -0,0 +1,13 @@
$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"

View File

@ -1,16 +1,18 @@
$OpenBSD: patch-src_server_poll_inetd_cpp,v 1.2 2013/09/24 15:34:47 landry Exp $
$OpenBSD: patch-src_server_poll_inetd_cpp,v 1.3 2017/05/13 18:38:25 espie Exp $
https://symlink.me/projects/minbif/repository/revisions/cdc5ed2372b5df08337aa60c32a1c4493321d158
error: #error "Only <glib.h> can be included directly."
--- src/server_poll/inetd.cpp.orig Tue Mar 20 10:52:16 2012
+++ src/server_poll/inetd.cpp Tue Mar 20 10:52:27 2012
@@ -17,7 +17,7 @@
Index: src/server_poll/inetd.cpp
--- src/server_poll/inetd.cpp.orig
+++ src/server_poll/inetd.cpp
@@ -17,7 +17,8 @@
*/
#include <cassert>
-#include <glib/gmain.h>
+#include <glib.h>
+#include <unistd.h>
#include "inetd.h"
#include "irc/irc.h"

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_sockwrap_sockwrap_cpp,v 1.1 2017/05/13 18:38:25 espie Exp $
Index: src/sockwrap/sockwrap.cpp
--- src/sockwrap/sockwrap.cpp.orig
+++ src/sockwrap/sockwrap.cpp
@@ -22,6 +22,7 @@
# include "sockwrap_tls.h"
#endif
#include "core/util.h"
+#include <unistd.h>
namespace sock
{