summaryrefslogtreecommitdiff
path: root/devel/gearmand/patches/patch-examples_reverse__client__bg.cc
blob: 69268334de09addc890fbb24b27497afeb3eb97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-examples_reverse__client__bg.cc,v 1.1 2013/10/04 07:03:37 fhajny Exp $

Need unistd.h for STDOUT_FILENO.

--- examples/reverse_client_bg.cc.orig	2013-02-14 11:34:29.000000000 +0000
+++ examples/reverse_client_bg.cc
@@ -43,6 +43,7 @@
 #include <iomanip>
 #include <iostream>
 #include <string>
+#include <unistd.h>
 
 #include <libgearman/gearman.h>
 #include <boost/program_options.hpp>