From e83af4e235800d04f4ecba10499228865baf3d54 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 29 Apr 2004 09:36:27 +0000 Subject: [PATCH] Make sure pu.h doesn't include glut by accident. --- src/GUI/menubar.cxx | 5 +++++ src/GUI/new_gui.hxx | 4 ++++ src/GUI/puList.hxx | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/src/GUI/menubar.cxx b/src/GUI/menubar.cxx index f613ec325..083d3cf5c 100644 --- a/src/GUI/menubar.cxx +++ b/src/GUI/menubar.cxx @@ -1,5 +1,10 @@ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include + #include #include diff --git a/src/GUI/new_gui.hxx b/src/GUI/new_gui.hxx index 5aec7c538..6e96a5aa0 100644 --- a/src/GUI/new_gui.hxx +++ b/src/GUI/new_gui.hxx @@ -7,6 +7,10 @@ # error This library requires C++ #endif +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include // for SG_USING_STD diff --git a/src/GUI/puList.hxx b/src/GUI/puList.hxx index 43ba4e242..563763a0b 100644 --- a/src/GUI/puList.hxx +++ b/src/GUI/puList.hxx @@ -3,6 +3,10 @@ #ifndef __PULIST_HXX #define __PULIST_HXX 1 +#ifdef HAVE_CONFIG_H +# include +#endif + #include -- 2.39.5