diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-09 23:07:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-09 23:07:54 +0000 |
| commit | 115fedf432d73f17ade48eaa2fa12dfd333bfcaa (patch) | |
| tree | 9cc7cce7b1f627457813d5d9dbf7b121164a0446 /otk/timer.cc | |
| parent | 74cfb1b4c115cdb4e05aa823b09d2b5ea9d0d690 (diff) | |
use the c++ std cheaders
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 { |
