Do not need getopt.h for getopt, from Eric N Vander Weele.

pull/866/head
Nicholas Marriott 2017-04-20 20:35:11 +01:00
parent 4a2e75fc8c
commit b723f50e65
2 changed files with 1 additions and 4 deletions

View File

@ -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;

1
tmux.c
View File

@ -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>