diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-04-20 20:35:11 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-04-20 20:35:11 +0100 |
commit | b723f50e6575b13751aa172d3cd1e80c3085f296 (patch) | |
tree | d557a0fc267c99031f409fe6efc914075c4f631d | |
parent | 4a2e75fc8c4a7d91f7c080605749e9dc564f2c2b (diff) | |
download | rtmux-b723f50e6575b13751aa172d3cd1e80c3085f296.tar.gz rtmux-b723f50e6575b13751aa172d3cd1e80c3085f296.tar.bz2 rtmux-b723f50e6575b13751aa172d3cd1e80c3085f296.zip |
Do not need getopt.h for getopt, from Eric N Vander Weele.
-rw-r--r-- | compat.h | 4 | ||||
-rw-r--r-- | tmux.c | 1 |
2 files changed, 1 insertions, 4 deletions
@@ -344,9 +344,7 @@ int utf8proc_mbtowc(wchar_t *, const char *, size_t); int utf8proc_wctomb(char *, wchar_t); #endif -#ifdef HAVE_GETOPT -#include <getopt.h> -#else +#ifndef HAVE_GETOPT /* getopt.c */ extern int BSDopterr; extern int BSDoptind; @@ -22,7 +22,6 @@ #include <errno.h> #include <event.h> #include <fcntl.h> -#include <getopt.h> #include <langinfo.h> #include <locale.h> #include <pwd.h> |