aboutsummaryrefslogtreecommitdiff
path: root/src/WindowState.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WindowState.cc')
-rw-r--r--src/WindowState.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/WindowState.cc b/src/WindowState.cc
index 2f1ee0e..e684992 100644
--- a/src/WindowState.cc
+++ b/src/WindowState.cc
@@ -23,13 +23,8 @@
23 23
24#include "FbTk/StringUtil.hh" 24#include "FbTk/StringUtil.hh"
25 25
26#ifdef HAVE_CSTDLIB 26#include <cstdlib>
27 #include <cstdlib> 27#include <cerrno>
28#else
29 #include <stdlib.h>
30#endif
31
32#include <errno.h>
33 28
34bool WindowState::useBorder() const { 29bool WindowState::useBorder() const {
35 return !fullscreen && maximized != MAX_FULL && deco_mask & DECORM_BORDER; 30 return !fullscreen && maximized != MAX_FULL && deco_mask & DECORM_BORDER;