[SCM] OCE packaging branch, upstream, updated. OCE-0.6.0-230-g17bea23
Fotios Sioutis
sfotis at gmail.com
Fri Feb 24 18:50:50 UTC 2012
The following commit has been merged in the upstream branch:
commit 2d448e1f56562d1a1867b151dd64170a08b9e1b0
Author: Fotios Sioutis <sfotis at gmail.com>
Date: Tue Jan 17 17:08:41 2012 +0200
include stdio.h for older tcl versions
older tcl.h versions do not include (macro protect) stdio.h header
and it is needed by oce code.
diff --git a/src/Draw/Draw_Window.cxx b/src/Draw/Draw_Window.cxx
index 582094e..e8d7c8b 100644
--- a/src/Draw/Draw_Window.cxx
+++ b/src/Draw/Draw_Window.cxx
@@ -22,6 +22,11 @@
#include <TCollection_AsciiString.hxx>
#include <Image_PixMap.hxx>
+/* Earlier versions of tcl protect inclusion of stdio.h , and it is needed
+ for gets definition */
+
+#include <stdio.h>
+
extern Draw_Interpretor theCommands;
extern Standard_Boolean Draw_VirtualWindows;
static Tcl_Interp *interp; /* Interpreter for this application. */
--
OCE packaging
More information about the debian-science-commits
mailing list