diff options
Diffstat (limited to 'otk/timer.cc')
| -rw-r--r-- | otk/timer.cc | 13 |
1 files changed, 5 insertions, 8 deletions
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 <sys/select.h> -#else -# ifdef HAVE_UNISTD_H -# include <sys/types.h> -# include <unistd.h> -# endif // HAVE_UNISTD_H #endif // HAVE_SYS_SELECT_H + +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif } namespace otk { |
