extern "C" the C headers
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
otk/timer.cc
→
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 <sys/types.h>
# include <unistd.h> # endif // HAVE_UNISTD_H #endif // HAVE_SYS_SELECT_H +} namespace otk {