Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/ustr-compiler.h b/ustr-compiler.h 2index 9e71276..c5f847a 100644 3--- a/ustr-compiler.h 4+++ b/ustr-compiler.h 5@@ -11,17 +11,11 @@ 6 #define USTR_CONF_HAVE_ATTR_FMT 1 7 #endif 8 9+#include <stdarg.h> 10 /* We assume this is enough, 11 * C99 specifies that va_copy() exists and is a macro */ 12-#ifdef va_copy 13 # define USTR_CONF_HAVE_VA_COPY 1 14 # define USTR__VA_COPY(x, y) va_copy(x, y) 15-#elif __va_copy 16-# define USTR_CONF_HAVE_VA_COPY 1 17-# define USTR__VA_COPY(x, y) __va_copy(x, y) 18-#else 19-# define USTR_CONF_HAVE_VA_COPY 0 20-#endif 21 22 #ifndef USTR_CONF_HAVE_ATTR_NONNULL 23 #if defined(__GNUC__) && (__GNUC__ > 3) /* not sure */