summaryrefslogtreecommitdiffstats
path: root/main/vlc/stdarg.patch
blob: 1416e55913ce973fca0cf4b96c9f9db4b973272a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./configure.ac.orig
+++ ./configure.ac
@@ -529,7 +529,8 @@
             c = NULL;
     ])],[AC_DEFINE([HAVE_ASPRINTF],[1],[Define to 1 if you have asprintf function])],[AC_LIBOBJ([asprintf])])
 AC_LINK_IFELSE([
-    AC_LANG_PROGRAM([#include <stdio.h>], [
+    AC_LANG_PROGRAM([#include <stdio.h>
+                     #include <stdarg.h>], [
         char *c;
         va_list ap;
         if (vasprintf(&c, "%s %d", ap) == -1)