- (dtucker) [openbsd-compat/daemon.c] Add unistd.h for fork() prototype.

This commit is contained in:
Darren Tucker 2006-08-02 23:33:54 +10:00
parent 94346f8596
commit 88fdc83d4c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,6 @@
20060802
- (dtucker) [openbsd-compat/daemon.c] Add unistd.h for fork() prototype.
20060725
- (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW.
@ -5059,4 +5062,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4439 2006/07/25 09:52:07 dtucker Exp $
$Id: ChangeLog,v 1.4440 2006/08/02 13:33:54 dtucker Exp $

View File

@ -44,6 +44,10 @@
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
int
daemon(int nochdir, int noclose)
{