summaryrefslogtreecommitdiff
path: root/otk/timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/timer.cc')
-rw-r--r--otk/timer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/otk/timer.cc b/otk/timer.cc
index 755096b8..d6bd1ee3 100644
--- a/otk/timer.cc
+++ b/otk/timer.cc
@@ -7,6 +7,7 @@
#include "timer.hh"
#include "display.hh"
+extern "C" {
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#else
@@ -15,6 +16,7 @@
# include <unistd.h>
# endif // HAVE_UNISTD_H
#endif // HAVE_SYS_SELECT_H
+}
namespace otk {