_PATH_DEVNULL needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1783 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -53,6 +53,8 @@ RCSID("$Id$"); | ||||
| #include <unistd.h> | ||||
| #endif | ||||
|  | ||||
| #include "roken.h" | ||||
|  | ||||
| int | ||||
| daemon(nochdir, noclose) | ||||
| 	int nochdir, noclose; | ||||
|   | ||||
| @@ -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__ */ | ||||
|   | ||||
| @@ -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__ */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund