Unbreak with gcc-43.

Reported by:	pointyhat via Pav
This commit is contained in:
Thierry Thomas 2009-02-11 19:39:52 +00:00
parent 5089d79960
commit 5f419ac930
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228070

View File

@ -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));
//=======================================================================