From b723f50e6575b13751aa172d3cd1e80c3085f296 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 20 Apr 2017 20:35:11 +0100 Subject: Do not need getopt.h for getopt, from Eric N Vander Weele. --- compat.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compat.h') 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; -- cgit v1.2.3