summaryrefslogtreecommitdiffstats
path: root/compat/daemon.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 20:11:25 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 20:11:25 +0000
commitbe53d7f298bb81297ff0d186f9ddb585a2e57198 (patch)
treef461c861805dc1694884e772a7c07bfe64f14a3d /compat/daemon.c
parent0d5ad358ae3bc80cbf226f5aef5790ca1e1f430c (diff)
More Sun OS crap.
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