summaryrefslogtreecommitdiffstats
path: root/compat/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/daemon.c')
-rw-r--r--compat/daemon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/compat/daemon.c b/compat/daemon.c
index 420f58dc..06384ec8 100644
--- a/compat/daemon.c
+++ b/compat/daemon.c
@@ -29,10 +29,13 @@
*/
#include <fcntl.h>
-#include <paths.h>
#include <unistd.h>
#include <stdlib.h>
+#ifndef NO_PATHS_H
+#include <paths.h>
+#endif
+
#include "tmux.h"
int