X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=acconfig.h;h=e97c14b2605013c59bb2c4b3a6b9b181ea584d50;hp=6c39c7d5a23e894869fef8aafbda575ec5fc4e33;hb=cc01b18bc6d0bfb12e6770fc0a007c278f355d9e;hpb=f9eef5210dbc9c0fe54637cc4c3c0be134a51409 diff --git a/acconfig.h b/acconfig.h index 6c39c7d5..e97c14b2 100644 --- a/acconfig.h +++ b/acconfig.h @@ -19,3 +19,10 @@ #if !defined(__USE_BSD) # undef __USE_BSD #endif + +/* For getopt */ +#if HAVE_STDLIB_H +# define getopt system_getopt +# include +# undef getopt +#endif