File gcc-4.7.patch of Package libopendrim0

diff -wruN -x '*~' ../orig-libopendrim-1.1.4/Common.h ./Common.h
--- ../orig-libopendrim-1.1.4/Common.h	2010-11-23 16:26:07.000000000 +0100
+++ ./Common.h	2012-05-28 19:45:38.033742844 +0200
@@ -96,6 +96,8 @@
 
 #endif //_COMMON_MACROS
 
+#include <cstdlib>
+#include <unistd.h>
 #include <string>
 #include <vector>
 #include <sstream>
openSUSE Build Service is sponsored by