summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/daemon.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d4a4e7b6c..128057cbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120060802
2 - (dtucker) [openbsd-compat/daemon.c] Add unistd.h for fork() prototype.
3
120060725 420060725
2 - (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW. 5 - (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW.
3 6
@@ -5059,4 +5062,4 @@
5059 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5062 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5060 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5063 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5061 5064
5062$Id: ChangeLog,v 1.4439 2006/07/25 09:52:07 dtucker Exp $ 5065$Id: ChangeLog,v 1.4440 2006/08/02 13:33:54 dtucker Exp $
diff --git a/openbsd-compat/daemon.c b/openbsd-compat/daemon.c
index f380139d3..e3a6886bd 100644
--- a/openbsd-compat/daemon.c
+++ b/openbsd-compat/daemon.c
@@ -44,6 +44,10 @@
44# include <fcntl.h> 44# include <fcntl.h>
45#endif 45#endif
46 46
47#ifdef HAVE_UNISTD_H
48# include <unistd.h>
49#endif
50
47int 51int
48daemon(int nochdir, int noclose) 52daemon(int nochdir, int noclose)
49{ 53{