From: Vincent Bernat Date: Sun, 13 Dec 2015 08:03:13 +0000 (+0100) Subject: build: don't use getopt from libbsd X-Git-Tag: 0.8.0~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e620ba6baf0cfe9767e289f92c487c5e2978c5dd;p=thirdparty%2Flldpd.git build: don't use getopt from libbsd The GNU one is perfectly fine. --- 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)));