]> Dogcows Code - chaz/openbox/commitdiff
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 755096b84cf9c564460fc368b4a3b96604e0c7a8..d6bd1ee3d436810c13bf4bbfb909aa37bb5a851c 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 {
 
This page took 0.027879 seconds and 4 git commands to generate.