summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.cc')
-rw-r--r--src/openbox.cc14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index 24b32786..9c1041ac 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -1,8 +1,6 @@
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifdef HAVE_CONFIG_H
-# include "../config.h"
-#endif
+#include "config.h"
#include "openbox.hh"
#include "client.hh"
@@ -20,14 +18,6 @@
extern "C" {
#include <X11/cursorfont.h>
-#ifdef HAVE_STDIO_H
-# include <stdio.h>
-#endif // HAVE_STDIO_H
-
-#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-#endif // HAVE_STDLIB_H
-
#ifdef HAVE_SIGNAL_H
# include <signal.h>
#endif // HAVE_SIGNAL_H
@@ -45,6 +35,8 @@ extern "C" {
}
#include <algorithm>
+#include <cstdio>
+#include <cstdlib>
namespace ob {