compile fix: missing headers (sun compiler complained about)
This commit is contained in:
parent
6c0739e889
commit
078438e993
5 changed files with 37 additions and 1 deletions
|
@ -36,6 +36,17 @@
|
|||
#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 {
|
||||
|
|
|
@ -39,15 +39,24 @@
|
|||
|
||||
#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;
|
||||
using std::vector;
|
||||
|
|
|
@ -36,6 +36,12 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CSTDLIB
|
||||
#include <cstdlib>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#ifdef SHAPE
|
||||
|
|
|
@ -23,7 +23,16 @@
|
|||
|
||||
#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 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "Layer.hh"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#include <string>
|
||||
|
|
Loading…
Reference in a new issue