diff --git a/sys/sys/featuretest.h b/sys/sys/featuretest.h index 967f09bcf..67354d216 100644 --- a/sys/sys/featuretest.h +++ b/sys/sys/featuretest.h @@ -69,6 +69,12 @@ #define _NETBSD_SOURCE 1 #endif +/* Compatibility for older version of autotools. */ +#if defined(_MINIX) +#undef _MINIX +#define _NETBSD_SOURCE 1 +#endif + /* Never define _REENTRANT on Minix */ #ifndef __minix