summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compat/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/daemon.c b/compat/daemon.c
index 06384ec8..56dc46af 100644
--- a/compat/daemon.c
+++ b/compat/daemon.c
@@ -32,7 +32,7 @@
#include <unistd.h>
#include <stdlib.h>
-#ifndef NO_PATHS_H
+#ifdef HAVE_PATHS_H
#include <paths.h>
#endif