30 lines
694 B
Plaintext
30 lines
694 B
Plaintext
$OpenBSD: patch-lcx11_cxx,v 1.2 2002/09/28 21:25:05 naddy Exp $
|
|
--- lcx11.cxx.orig Fri Feb 26 02:17:54 1999
|
|
+++ lcx11.cxx Sat Sep 28 23:19:46 2002
|
|
@@ -5,16 +5,7 @@
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <math.h>
|
|
-#ifdef IRIX
|
|
-#include <strings.h>
|
|
-#endif
|
|
-// I'm told the following is needed.
|
|
-#ifdef SUNOS
|
|
-#include <string.h>
|
|
-#endif
|
|
-#ifdef SCO
|
|
#include <string.h>
|
|
-#endif
|
|
|
|
// this is for OS/2 - RVI
|
|
#ifdef __EMX__
|
|
@@ -715,7 +706,7 @@ refresh_screen (int x1, int y1, int x2,
|
|
#ifdef USE_IMAGES
|
|
Fgl_putbox_low (display.win, 0, 0,
|
|
x1, y1, x2 - x1, y2 - y1,
|
|
- pixmap, (640 + BORDERX),
|
|
+ (unsigned char*)pixmap, (640 + BORDERX),
|
|
x1, y1);
|
|
#else
|
|
int x, y;
|