]> git.sesse.net Git - vlc/commitdiff
Contribs: fix compilation of iconv on Win64
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 10 Mar 2013 11:53:47 +0000 (12:53 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 10 Mar 2013 11:53:47 +0000 (12:53 +0100)
contrib/src/iconv/libiconv-win64.patch

index 64a4c4103d764a4d6305790aa369ab729f365fa4..8e65f95bcd2ccd4ab53d5739c15e42d61838fd15 100644 (file)
@@ -1281,3 +1281,13 @@ diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
            void **chain = &mmalloca_results[slot];
            for (; *chain != NULL;)
              {
+--- iconv.new/srclib/malloca.h 2011-08-07 15:42:06.000000000 +0200
++++ iconv/srclib/malloca.h     2013-03-10 12:50:30.804222836 +0100
+@@ -22,6 +22,7 @@
+ #include <alloca.h>
+ #include <stddef.h>
+ #include <stdlib.h>
++#include <stdint.h>
+ #ifdef __cplusplus