all repos — fluxbox @ 078438e9933720f2e1e0a4bf060eff1fe94a703f

custom fork of the fluxbox windowmanager

compile fix: missing headers (sun compiler complained about)
Mathias Gumz akira at fluxbox dot org
commit

078438e9933720f2e1e0a4bf060eff1fe94a703f

parent

6c0739e8895c9b909e4d925f57c130b4db3e842e

5 files changed, 37 insertions(+), 1 deletions(-)

jump to
M src/CurrentWindowCmd.ccsrc/CurrentWindowCmd.cc

@@ -36,6 +36,17 @@ #include "FbTk/I18n.hh"

#include "FbTk/stringstream.hh" #include "FbTk/StringUtil.hh" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + +#ifdef HAVE_CSTDLIB +#include <cstdlib> +#else +#include <stdlib.h> +#endif + + using FbTk::Command; namespace {
M src/Ewmh.ccsrc/Ewmh.cc

@@ -39,14 +39,23 @@ #include "FbTk/FbPixmap.hh"

#include <X11/Xproto.h> #include <X11/Xatom.h> + #include <iostream> #include <algorithm> #include <new> + #ifdef HAVE_CSTRING #include <cstring> #else #include <string.h> #endif + +#ifdef HAVE_CSTDLIB + #include <cstdlib> +#else + #include <stdlib.h> +#endif + using std::cerr; using std::endl;
M src/FbTk/Shape.ccsrc/FbTk/Shape.cc

@@ -36,6 +36,12 @@ #else

#include <string.h> #endif +#ifdef HAVE_CSTDLIB + #include <cstdlib> +#else + #include <stdlib.h> +#endif + #include <X11/Xutil.h> #ifdef SHAPE
M src/WindowState.ccsrc/WindowState.cc

@@ -23,7 +23,16 @@ #include "WindowState.hh"

#include "FbTk/StringUtil.hh" -#include <cstdlib> +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif // HAVE_CONFIG_H + +#ifdef HAVE_CSTDLIB + #include <cstdlib> +#else + #include <stdlib.h> +#endif + #include <errno.h> bool WindowState::useBorder() const {
M src/WindowState.hhsrc/WindowState.hh

@@ -24,6 +24,7 @@ #define WINDOWSTATE_HH

#include "Layer.hh" +#include <X11/Xlib.h> #include <X11/Xutil.h> #include <string>