extern "C" the C headers
authorDana Jansens <danakj@orodu.net>
Wed, 15 Jan 2003 03:18:01 +0000 (03:18 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 15 Jan 2003 03:18:01 +0000 (03:18 +0000)
otk/timer.cc

index 755096b..d6bd1ee 100644 (file)
@@ -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 {