diff --git a/compat.h b/compat.h index d38e6f0c..7824fc52 100644 --- a/compat.h +++ b/compat.h @@ -344,9 +344,7 @@ int utf8proc_mbtowc(wchar_t *, const char *, size_t); int utf8proc_wctomb(char *, wchar_t); #endif -#ifdef HAVE_GETOPT -#include -#else +#ifndef HAVE_GETOPT /* getopt.c */ extern int BSDopterr; extern int BSDoptind; diff --git a/tmux.c b/tmux.c index 78c8c70b..28ec54cf 100644 --- a/tmux.c +++ b/tmux.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include