From c386912e01f5d410c94f7e86330ade4be3cbeaf7 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Sun, 14 Mar 1999 09:00:38 +0000 Subject: [PATCH] getenv() needs a prototype for Solaris. --- gfx/src/gtk/nsDeviceContextSpecG.cpp | 2 ++ widget/src/gtk2/nsDeviceContextSpecG.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gfx/src/gtk/nsDeviceContextSpecG.cpp b/gfx/src/gtk/nsDeviceContextSpecG.cpp index f989d596b187..22253990dfb4 100644 --- a/gfx/src/gtk/nsDeviceContextSpecG.cpp +++ b/gfx/src/gtk/nsDeviceContextSpecG.cpp @@ -20,6 +20,8 @@ //#include "prmem.h" //#include "plstr.h" +#include "stdlib.h" // getenv() on Solaris/CC + /** ------------------------------------------------------- * Construct the nsDeviceContextSpecGTK * @update dc 12/02/98 diff --git a/widget/src/gtk2/nsDeviceContextSpecG.cpp b/widget/src/gtk2/nsDeviceContextSpecG.cpp index f989d596b187..22253990dfb4 100644 --- a/widget/src/gtk2/nsDeviceContextSpecG.cpp +++ b/widget/src/gtk2/nsDeviceContextSpecG.cpp @@ -20,6 +20,8 @@ //#include "prmem.h" //#include "plstr.h" +#include "stdlib.h" // getenv() on Solaris/CC + /** ------------------------------------------------------- * Construct the nsDeviceContextSpecGTK * @update dc 12/02/98