aboutsummaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 1 insertions, 3 deletions
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 <getopt.h>
-#else
+#ifndef HAVE_GETOPT
/* getopt.c */
extern int BSDopterr;
extern int BSDoptind;