More fixes for Solaris.
This commit is contained in:
parent
25a804c94e
commit
e06415e3d9
3 changed files with 12 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$Id: dropin.c,v 1.1.2.5 2001/11/05 19:06:07 guus Exp $
|
||||
$Id: dropin.c,v 1.1.2.6 2001/11/05 19:09:08 guus Exp $
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
@ -28,6 +28,7 @@
|
|||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <xalloc.h>
|
||||
|
||||
|
@ -97,6 +98,8 @@ int daemon(int nochdir, int noclose)
|
|||
dup2(fd, 2);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue