On Mon, Nov 24, 2008 at 10:08:27AM +0100, Hubert Feyrer wrote:
On Mon, 24 Nov 2008, Carl Brewer wrote:
daemon.c:42:19: paths.h: No such file or directory
daemon.c: In function `daemon':
daemon.c:66: error: `_PATH_DEVNULL' undeclared (first use in this function)
daemon.c:66: error: (Each undeclared identifier is reported only once
At least the Solaris 10 that I have here[1] neither has paths.h nor
_PATH_DEVNULL defined. As such, the software assuming such existance
should be fixed.
#ifdef __sunos__
#define _PATH_DEVNULL "/dev/null"
#else
#include <paths.h>
#endif
or something like that.