summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authortjg <tjg>1998-12-09 15:24:08 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:13 +0100
commitffa3896e58f8dcaab7b3c6f4732fd77508f99828 (patch)
tree91d2110beb4d3fddc179d079d62e8999f33769a1 /acinclude.m4
parentb7a6f5d187c97a9ba6adb7998dee52c1774f3d8b (diff)
Portability: test for va_copy() needs to include <stdarg.h>.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7eb8976..a65d3ce 100644
--- 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