summaryrefslogtreecommitdiffstats
path: root/compat/setproctitle.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-01-25 13:49:01 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-01-25 13:49:01 +0000
commit3e495b4001889596ac6b148cffd1735343a1333e (patch)
tree261c29ef0ab2fd66d04a9397227effeab14de2e7 /compat/setproctitle.c
parent418ab1a553f46996d3524bab5c81b2c66fa7efc6 (diff)
compat/* should not include tmux.h.
Diffstat (limited to 'compat/setproctitle.c')
-rw-r--r--compat/setproctitle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/setproctitle.c b/compat/setproctitle.c
index bda924ef..990f4ded 100644
--- a/compat/setproctitle.c
+++ b/compat/setproctitle.c
@@ -16,9 +16,10 @@
#include <sys/types.h>
+#include <stdarg.h>
#include <string.h>
-#include "tmux.h"
+#include "compat.h"
#if defined(HAVE_PRCTL) && defined(HAVE_PR_SET_NAME)