summaryrefslogtreecommitdiff
path: root/xc/lib/Xt/Intrinsic.c
diff options
context:
space:
mode:
authorgildea <empty>1991-04-01 16:31:58 +0000
committergildea <empty>1991-04-01 16:31:58 +0000
commit92b7cb02816ba25e73776ce941033adb6c20d0b2 (patch)
tree3e912fd879068ff2e7b7a6fac7fd595b2780ff2d /xc/lib/Xt/Intrinsic.c
parente9a6ed3ef9c91933993d04a6f50e1d5c2d638302 (diff)
include stdlib.h instead of declaring getenv() unless X_NOT_STDC_ENV
Diffstat (limited to 'xc/lib/Xt/Intrinsic.c')
-rw-r--r--xc/lib/Xt/Intrinsic.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/xc/lib/Xt/Intrinsic.c b/xc/lib/Xt/Intrinsic.c
index ceaeeb594..705fa48a6 100644
--- a/xc/lib/Xt/Intrinsic.c
+++ b/xc/lib/Xt/Intrinsic.c
@@ -1,4 +1,4 @@
-/* $XConsortium: Intrinsic.c,v 1.161 91/01/10 21:08:09 converse Exp $ */
+/* $XConsortium: Intrinsic.c,v 1.162 91/02/08 17:31:34 converse Exp $ */
/***********************************************************
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
@@ -33,6 +33,12 @@ SOFTWARE.
#endif /* VMS */
#include "Quarks.h"
+#ifndef X_NOT_STDC_ENV
+#include <stdlib.h>
+#else
+extern char *getenv();
+#endif
+
String XtCXtToolkitError = "XtToolkitError";
Boolean XtIsSubclass(widget, widgetClass)
@@ -927,7 +933,6 @@ String XtResolvePathname(dpy, type, filename, suffix, path, substitutions,
char *massagedPath;
int bytesAllocd, bytesLeft;
char *ch, *result;
- extern char* getenv();
Substitution merged_substitutions;
XrmRepresentation db_type;
XrmValue value;