changeset 894:efe7c015dd78 HEAD

Include unistd.h for setproctitle(), FreeBSD wants it.
author Timo Sirainen <tss@iki.fi>
date Thu, 02 Jan 2003 15:39:10 +0200
parents 4f619b97ee65
children 68c46e7faf4f
files src/lib/process-title.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/process-title.c	Thu Jan 02 15:32:40 2003 +0200
+++ b/src/lib/process-title.c	Thu Jan 02 15:39:10 2003 +0200
@@ -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. */