summaryrefslogtreecommitdiff
path: root/otk/display.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/display.cc')
-rw-r--r--otk/display.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/otk/display.cc b/otk/display.cc
index cf4e22e3..cb13440a 100644
--- a/otk/display.cc
+++ b/otk/display.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 "display.hh"
#include "screeninfo.hh"
@@ -24,10 +22,6 @@ extern "C" {
#include <X11/extensions/Xinerama.h>
#endif // XINERAMA
-#ifdef HAVE_STDIO_H
-# include <stdio.h>
-#endif // HAVE_STDIO_H
-
#ifdef HAVE_SIGNAL_H
# include <signal.h>
#endif // HAVE_SIGNAL_H
@@ -45,6 +39,8 @@ extern "C" {
#define _(str) gettext(str)
}
+#include <cstdio>
+
namespace otk {