e07b877ae0
diff from Michael Warmuth on ports@ a couple of months ago (during ports lock), thanks!
21 lines
535 B
Plaintext
21 lines
535 B
Plaintext
$OpenBSD: patch-gfx_c,v 1.2 2008/10/10 22:58:16 sthen Exp $
|
|
--- gfx.c.orig Sat Sep 28 18:46:10 1991
|
|
+++ gfx.c Sat Aug 2 19:41:42 2008
|
|
@@ -15,6 +15,7 @@
|
|
*/
|
|
#include "defs.h"
|
|
#include "globals.h"
|
|
+#include <stdlib.h>
|
|
|
|
#ifdef ROUND_CARDS
|
|
#include <X11/Xmu/Drawing.h>
|
|
@@ -166,7 +167,7 @@ unsigned long redpixel;
|
|
gcflags |= GCFont;
|
|
|
|
textgc = XCreateGC(dpy, RootWindow(dpy, screen), gcflags, &gcv);
|
|
-#endif KITLESS
|
|
+#endif
|
|
|
|
tmpmap = XCreateBitmapFromData(dpy, RootWindow(dpy, screen),
|
|
logo_bits, logo_width, logo_height);
|