From e620ba6baf0cfe9767e289f92c487c5e2978c5dd Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 13 Dec 2015 09:03:13 +0100 Subject: [PATCH] build: don't use getopt from libbsd The GNU one is perfectly fine. --- src/compat/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compat/compat.h b/src/compat/compat.h index 982f9f1b..027e6481 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -43,6 +43,8 @@ #include #include +#undef getopt + #if !HAVE_ASPRINTF int vasprintf(char **, const char *, va_list) __attribute__ ((format (printf, 2, 0))); int asprintf (char **, const char *, ...) __attribute__ ((format (printf, 2, 3))); -- 2.39.5