File xbench-0.2-ia64.patch of Package xbench

--- dline.c
+++ dline.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- dobenches.c
+++ dobenches.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <string.h>
 #include <stdio.h>
 #include <signal.h>
 #include <X11/Xlib.h>
@@ -25,7 +26,11 @@
 
 int benchRunning;
 
-static stopBench() {
+static strblank(char *, int);
+static strinsert(char *, char*, int);
+static isInList(char *, char **);
+
+void stopBench(int i) {
 	benchRunning = 0;
 }
 
--- fillrects.c
+++ fillrects.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- hline.c
+++ hline.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- imagestr.c
+++ imagestr.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <string.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- line.c
+++ line.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- main.c
+++ main.c
@@ -22,6 +22,8 @@
  *
  * written Feb. '89 by claus
  */
+#include <stdlib.h>
+#include <string.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- rects.c
+++ rects.c
@@ -16,6 +16,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 
--- sline.c
+++ sline.c
@@ -16,6 +16,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 
--- stiprects.c
+++ stiprects.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- tiledrects.c
+++ tiledrects.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- vline.c
+++ vline.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- wline.c
+++ wline.c
@@ -15,6 +15,7 @@
  * Author:  Claus Gittinger, Siemens Munich, unido!sinix!claus@uunet.uu.net
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>