[dovecot-cvs] dovecot/src/lib process-title.c,1.4,1.5
cras at procontrol.fi
cras at procontrol.fi
Thu Jan 2 15:39:12 EET 2003
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv3776/lib
Modified Files:
process-title.c
Log Message:
Include unistd.h for setproctitle(), FreeBSD wants it.
Index: process-title.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/process-title.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- process-title.c 28 Dec 2002 07:09:28 -0000 1.4
+++ process-title.c 2 Jan 2003 13:39:10 -0000 1.5
@@ -27,7 +27,8 @@
#include "lib.h"
#include "process-title.h"
-#include <stdlib.h>
+#include <stdlib.h> /* NetBSD, OpenBSD */
+#include <unistd.h> /* FreeBSD */
/* NOTE: This really is a horrible hack, I don't recommend using it for
anything else than debugging. */
More information about the dovecot-cvs
mailing list