From 3e495b4001889596ac6b148cffd1735343a1333e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 25 Jan 2017 13:49:01 +0000 Subject: compat/* should not include tmux.h. --- compat.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 94c0c71e..42479d18 100644 --- a/compat.h +++ b/compat.h @@ -17,6 +17,12 @@ #ifndef COMPAT_H #define COMPAT_H +#include +#include + +#include +#include + #ifndef __GNUC__ #define __attribute__(a) #endif @@ -62,6 +68,12 @@ typedef uint64_t u_int64_t; #define pledge(s, p) (0) #endif +#ifdef HAVE_STDINT_H +#include +#else +#include +#endif + #ifdef HAVE_QUEUE_H #include #else @@ -108,12 +120,6 @@ typedef uint64_t u_int64_t; #include "compat/imsg.h" #endif -#ifdef HAVE_STDINT_H -#include -#else -#include -#endif - #ifdef BROKEN_CMSG_FIRSTHDR #undef CMSG_FIRSTHDR #define CMSG_FIRSTHDR(mhdr) \ -- cgit