X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=acconfig.h;h=e97c14b2605013c59bb2c4b3a6b9b181ea584d50;hp=fb2fb0251438071492765f73ab42ba5794130937;hb=265bda08cd00feebb68243d4079854916b03638e;hpb=1243156a5e03a666b36bc4400f1402243a85c9a7 diff --git a/acconfig.h b/acconfig.h index fb2fb025..e97c14b2 100644 --- a/acconfig.h +++ b/acconfig.h @@ -20,5 +20,9 @@ # undef __USE_BSD #endif -#undef HAVE_NAMESPACES -#undef HAVE_STL +/* For getopt */ +#if HAVE_STDLIB_H +# define getopt system_getopt +# include +# undef getopt +#endif