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