diff options
author | thierry <thierry@FreeBSD.org> | 2009-02-12 03:39:52 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2009-02-12 03:39:52 +0800 |
commit | e4990a80e36d8ac7c808e653f1b483d365e0a9dc (patch) | |
tree | dd5612fe761bf5bd11f9221e684083834414f8e3 /cad | |
parent | 1ffd2321b9c90d1e5c17434e3b4448f61355fcce (diff) | |
download | freebsd-ports-gnome-e4990a80e36d8ac7c808e653f1b483d365e0a9dc.tar.gz freebsd-ports-gnome-e4990a80e36d8ac7c808e653f1b483d365e0a9dc.tar.zst freebsd-ports-gnome-e4990a80e36d8ac7c808e653f1b483d365e0a9dc.zip |
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)); + + //======================================================================= |