X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=acconfig.h;h=e97c14b2605013c59bb2c4b3a6b9b181ea584d50;hp=6c39c7d5a23e894869fef8aafbda575ec5fc4e33;hb=87ccd613cab1947878ef60e3c927f717df089233;hpb=6182664859383a86a47846cafdc1f6fcd73b5a76 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