From 115fedf432d73f17ade48eaa2fa12dfd333bfcaa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 9 Feb 2003 23:07:54 +0000 Subject: use the c++ std cheaders --- src/main.cc | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 83cbf516..13047780 100644 --- a/src/main.cc +++ b/src/main.cc @@ -4,19 +4,9 @@ @brief Main entry point for the application */ -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif // HAVE_CONFIG_H +#include "config.h" extern "C" { -#ifdef HAVE_LOCALE_H -# include -#endif // HAVE_LOCALE_H - -#ifdef HAVE_STDIO_H -# include -#endif // HAVE_STDIO_H - #ifdef HAVE_UNISTD_H # include # include @@ -28,6 +18,9 @@ extern "C" { #include "openbox.hh" #include "otk/util.hh" +#include +#include + int main(int argc, char **argv) { // initialize the locale if (!setlocale(LC_ALL, "")) -- cgit v1.2.3