diff options
| author | tjg <tjg> | 1998-12-09 15:24:08 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:13 +0100 |
| commit | ffa3896e58f8dcaab7b3c6f4732fd77508f99828 (patch) | |
| tree | 91d2110beb4d3fddc179d079d62e8999f33769a1 | |
| parent | b7a6f5d187c97a9ba6adb7998dee52c1774f3d8b (diff) | |
Portability: test for va_copy() needs to include <stdarg.h>.
| -rw-r--r-- | acinclude.m4 | 1 |
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 |