diff options
author | Marco Peereboom <marco@conformal.com> | 2012-01-23 11:49:36 -0600 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-01-23 11:49:36 -0600 |
commit | 99b7201424470d542f136db15058979944306297 (patch) | |
tree | 336afe6dea5802bab60d239af772227a34a618ac | |
parent | 934c804aba1de44c6c649e38292b8ae8cafd8b61 (diff) | |
download | xombrero-99b7201424470d542f136db15058979944306297.tar.gz |
move sys/wait.h within #define
-rw-r--r-- | xxxterm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xxxterm.h b/xxxterm.h index 908fa29..6fb277c 100644 --- a/xxxterm.h +++ b/xxxterm.h @@ -31,7 +31,6 @@ #include <fcntl.h> #include <sys/types.h> -#include <sys/wait.h> #if defined(__linux__) #include "linux/util.h" #include "linux/tree.h" @@ -80,6 +79,10 @@ u_int32_t arc4random_uniform(u_int32_t); /* comment if you don't want to use the external editor */ #define XT_ENABLE_EXTERNAL_EDITOR (1) +#ifdef XT_ENABLE_EXTERNAL_EDITOR +#include <sys/wait.h> +#endif + #include "javascript.h" /* javascript.h borrowed from vimprobable2 under the following license: |