aboutsummaryrefslogtreecommitdiff
path: root/games/xdigger/files/patch-drawpixmaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xdigger/files/patch-drawpixmaps.c')
-rw-r--r--games/xdigger/files/patch-drawpixmaps.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/xdigger/files/patch-drawpixmaps.c b/games/xdigger/files/patch-drawpixmaps.c
new file mode 100644
index 000000000000..e5268927ead0
--- /dev/null
+++ b/games/xdigger/files/patch-drawpixmaps.c
@@ -0,0 +1,14 @@
+--- drawpixmaps.c.orig Sun Jul 4 18:50:44 1999
++++ drawpixmaps.c Thu Mar 30 04:00:13 2000
+@@ -14,7 +14,11 @@
+ along with this program; see the file COPYING. If not, write to
+ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
++#ifndef __STDC__
+ #include <malloc.h>
++#else
++#include <stdlib.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <X11/Xlib.h>