X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=acconfig.h;h=e97c14b2605013c59bb2c4b3a6b9b181ea584d50;hb=803f908078e87f433727a3ddf2d61734e1ed9233;hp=fb2fb0251438071492765f73ab42ba5794130937;hpb=1243156a5e03a666b36bc4400f1402243a85c9a7;p=tinc 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