X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fmain.cc;h=13047780fafa0175b9715a31609d54b12d0d7147;hb=7d215bd255d0744101b9ceb52c235bdc985fa034;hp=83cbf516103d5fbb5bfe195b76b34590e6665200;hpb=f5904cdaaafa95e8ab6ffde212dfc6b7478b4e32;p=chaz%2Fopenbox 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, ""))