summaryrefslogtreecommitdiff
path: root/wm/uwm/patches/patch-ac
blob: de73b7e2049d82eaccbf5d5844b57eaffffd0cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ac,v 1.2 2005/12/06 15:57:22 joerg Exp $

--- uwm.h.orig	Mon Oct 24 19:08:24 1988
+++ uwm.h	Thu Dec 23 00:27:02 1999
@@ -39,6 +39,12 @@
  
 #include <errno.h>
 #include <stdio.h>
+#ifdef CSRG_BASED
+#include <unistd.h>
+#endif
+#ifndef X_NOT_STDC_ENV
+#include <stdlib.h>
+#endif
 #include <X11/Xos.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
@@ -261,7 +267,6 @@ typedef int Pixel;
 /*
  * External variable definitions.
  */
-extern int errno;
 extern Window Pop;		/* Pop-up dimension display window. */
 extern Window Frozen;		/* Contains window id of "gridded" window. */
 extern XFontStruct *IFontInfo;	/* Icon text font information. */