X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ftimer.cc;h=0a0083146afee234012a7e30796f33d4bd60b393;hb=ad44e8a708b6836c9d84be7205457cfa82800a65;hp=4f993616b1ac0a6df3af1b1ad69be8a73a6c5f44;hpb=cdd260ab2edafdc520aa4bfc01de21fac1ca130d;p=chaz%2Fopenbox diff --git a/otk/timer.cc b/otk/timer.cc index 4f993616..0a008314 100644 --- a/otk/timer.cc +++ b/otk/timer.cc @@ -1,8 +1,6 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif // HAVE_CONFIG_H +#include "config.h" #include "timer.hh" #include "display.hh" @@ -10,12 +8,11 @@ extern "C" { #ifdef HAVE_SYS_SELECT_H # include -#else -# ifdef HAVE_UNISTD_H -# include -# include -# endif // HAVE_UNISTD_H #endif // HAVE_SYS_SELECT_H + +#ifdef HAVE_SYS_TIME_H +# include +#endif } namespace otk {