File eID-belgium-2.6.0-gcc43.patch of Package eID-belgium

--- src/beidcommlib/config.h	2007-11-11 17:19:00.000000000 +0100
+++ ../config.h	2007-11-11 17:18:49.000000000 +0100
@@ -18,6 +18,7 @@
 #pragma warning(disable: 4231 4250 4251 4275 4660 4661 4786 4355)
 #endif
 
+#include <algorithm>
 #include <string>
 #include <vector>
 #include <map>
--- src/beidcommon/datafile.cpp	2007-11-11 17:19:33.000000000 +0100
+++ ../datafile.cpp	2007-11-11 17:18:39.000000000 +0100
@@ -36,6 +36,9 @@
 #include <stdio.h>
 #include <stdarg.h>
 #include <float.h>
+#include <string.h>
+#include <stdlib.h>
+#include <limits.h>
 
 #ifdef WIN32
     #include <windows.h>
--- src/beidcommon/TLVBuffer.h	2007-11-11 17:19:12.000000000 +0100
+++ ../TLVBuffer.h	2007-11-11 17:18:33.000000000 +0100
@@ -16,6 +16,8 @@
 #include <map>
 #include "TLV.h"
 #include "eidlib.h"
+#include <string.h>
+#include <stdlib.h>
 
 namespace eidcommon
 {
--- src/eidlib/eiderrors.h	2007-11-11 17:19:26.000000000 +0100
+++ ../eiderrors.h	2007-11-11 17:18:45.000000000 +0100
@@ -6,6 +6,7 @@
 #define _EID_ERRORS_H
 
 #include <opensc/errors.h>
+#include <string.h>
 #ifndef DWORD
 typedef unsigned long DWORD;
 #endif
openSUSE Build Service is sponsored by