summaryrefslogtreecommitdiffstats
path: root/libdaemon/dpid.c
diff options
context:
space:
mode:
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;