commit ffa3896e58f8dcaab7b3c6f4732fd77508f99828
parent b7a6f5d187c97a9ba6adb7998dee52c1774f3d8b
Author: tjg <tjg>
Date: Wed, 9 Dec 1998 15:24:08 +0000
Portability: test for va_copy() needs to include <stdarg.h>.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
@@ -17,6 +17,7 @@ int main(void) {
dnl Check for va_copy() in <stdarg.h>. This is new in C 9x.
AC_DEFUN(RC_HAVE_VA_COPY, [
AC_CACHE_CHECK(for va_copy(), rc_cv_have_va_copy, AC_EGREP_CPP(yes, [
+#include <stdarg.h>
#ifdef va_copy
yes
#endif