diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2009-02-11 19:39:52 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2009-02-11 19:39:52 +0000 |
commit | 5f419ac9306b60c5d2df32a9f4ad5e465ca898e5 (patch) | |
tree | 8ab9376de269f1265d913397c2fe6aef67f7a6b1 /cad | |
parent | Upgrade to 7.0.33 and unbreak. (diff) |
Unbreak with gcc-43.
Reported by: pointyhat via Pav
Diffstat (limited to 'cad')
-rw-r--r-- | cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx b/cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx new file mode 100644 index 000000000000..304428832c58 --- /dev/null +++ b/cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx @@ -0,0 +1,11 @@ +--- ./ros/src/OSD/OSD_Timer.cxx.orig 2003-11-17 19:44:23.000000000 +0100 ++++ ./ros/src/OSD/OSD_Timer.cxx 2009-02-10 21:58:31.000000000 +0100 +@@ -26,6 +26,8 @@ + # include <sys/time.h> + #endif + ++#include <stdlib.h> ++ + static struct timezone *tz=(struct timezone*) malloc(sizeof(struct timezone)); + + //======================================================================= |