diff options
-rw-r--r-- | libdaemon/dpid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdaemon/dpid.c b/libdaemon/dpid.c index c7ec2b0..125fada 100644 --- a/libdaemon/dpid.c +++ b/libdaemon/dpid.c @@ -44,6 +44,10 @@ #define ETIME ETIMEDOUT /* For FreeBSD */ #endif +#ifndef PATH_MAX +#define PATH_MAX 512 +#endif + #define VARRUN "/var/run" const char *daemon_pid_file_ident = NULL; |