patches/physfs-01-alloca.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 270 44ec059f7c31
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
270
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
diff -ur physfs-1.1.1-orig/physfs_internal.h physfs-1.1.1/physfs_internal.h
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
--- physfs-1.1.1-orig/physfs_internal.h	2007-04-03 12:16:06.000000000 +0700
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
+++ physfs-1.1.1/physfs_internal.h	2007-05-06 13:37:18.264755453 +0700
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
@@ -17,6 +17,7 @@
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 #include "physfs.h"
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
 #include <stdlib.h>  /* make sure NULL is defined... */
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
+#include <alloca.h>
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
 
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
 #ifdef HAVE_ASSERT_H
44ec059f7c31 2007-05-01 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
 #include <assert.h>