dovecot-2.2: lib-master: include unistd.h for master_getopt() us...

dovecot at dovecot.org dovecot at dovecot.org
Fri Mar 15 22:59:00 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/69c26a9e3be5
changeset: 16029:69c26a9e3be5
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Mar 15 21:58:51 2013 +0100
description:
lib-master: include unistd.h for master_getopt() users.

diffstat:

 src/lib-master/master-service.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 5f14a12a1700 -r 69c26a9e3be5 src/lib-master/master-service.h
--- a/src/lib-master/master-service.h	Fri Mar 15 21:55:40 2013 +0100
+++ b/src/lib-master/master-service.h	Fri Mar 15 21:58:51 2013 +0100
@@ -3,6 +3,8 @@
 
 #include "net.h"
 
+#include <unistd.h> /* for getopt() opt* variables */
+
 enum master_service_flags {
 	/* stdin/stdout already contains a client which we want to serve */
 	MASTER_SERVICE_FLAG_STD_CLIENT		= 0x01,


More information about the dovecot-cvs mailing list