summaryrefslogtreecommitdiffstats
path: root/libdaemon/dpid.c
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2005-10-23 16:53:04 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2005-10-23 16:53:04 +0000
commit12ca6bf367c9903d97b9cac6297e3df422c3cd44 (patch)
treee8af63feef98c8c606b7b8e916f7b5d506dc4acd /libdaemon/dpid.c
parenta6a50fcf1a7160fe0d7394f00c04b8f21693595f (diff)
* add a workaround for aclocal bogus on freebsd (common dir)
* #define ETIME ETIMEDOUT for freebsd git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@93 153bfa13-eec0-0310-be40-b0cb6a0e1b4b
Diffstat (limited to 'libdaemon/dpid.c')
-rw-r--r--libdaemon/dpid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdaemon/dpid.c b/libdaemon/dpid.c
index 678826c..c01ed0a 100644
--- a/libdaemon/dpid.c
+++ b/libdaemon/dpid.c
@@ -38,6 +38,10 @@
#include "dpid.h"
#include "dlog.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT /* For FreeBSD */
+#endif
+
#define VARRUN "/var/run"
const char *daemon_pid_file_ident = NULL;