summaryrefslogtreecommitdiff
path: root/xc
diff options
context:
space:
mode:
authorrws <empty>1991-04-16 08:35:27 +0000
committerrws <empty>1991-04-16 08:35:27 +0000
commita7e9ec174adc8d330a58bbdf05bf6251c420c5d3 (patch)
tree10fb243f406b12ef864361a13e7b667f555d6751 /xc
parent23dc8312bd90aa6062540e627ff668e12a99aebf (diff)
protect NULL from redef
Diffstat (limited to 'xc')
-rw-r--r--xc/lib/oldX/XDraw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xc/lib/oldX/XDraw.c b/xc/lib/oldX/XDraw.c
index e89320e64..b2d550dc0 100644
--- a/xc/lib/oldX/XDraw.c
+++ b/xc/lib/oldX/XDraw.c
@@ -1,4 +1,4 @@
-/* $XConsortium: XDraw.c,v 1.8 90/12/27 20:09:42 gildea Exp $ */
+/* $XConsortium: XDraw.c,v 1.9 91/01/06 12:09:14 rws Exp $ */
/* Copyright Massachusetts Institute of Technology 1987 */
@@ -20,7 +20,9 @@ without express or implied warranty.
#define OK_RETURN 1
#define ERR_RETURN 0
+#ifndef NULL
#define NULL 0
+#endif
/*
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,