_PATH_DEVNULL needed

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1783 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-28 05:38:09 +00:00
parent 4c995e830f
commit abff0b80c6
3 changed files with 18 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ RCSID("$Id$");
#include <unistd.h>
#endif
#include "roken.h"
int
daemon(nochdir, noclose)
int nochdir, noclose;

View File

@@ -327,4 +327,12 @@ extern const char *__progname;
void set_progname(char *argv0);
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "/dev/null"
#endif
#endif /* __ROKEN_H__ */

View File

@@ -327,4 +327,12 @@ extern const char *__progname;
void set_progname(char *argv0);
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "/dev/null"
#endif
#endif /* __ROKEN_H__ */