Blame SOURCES/sblim-wbemcli-1.6.2-gcc47.patch

754fbd
diff -up sblim-wbemcli-1.6.2/CimCurl.h.orig sblim-wbemcli-1.6.2/CimCurl.h
754fbd
--- sblim-wbemcli-1.6.2/CimCurl.h.orig	2012-01-05 13:55:30.901154659 +0100
754fbd
+++ sblim-wbemcli-1.6.2/CimCurl.h	2012-01-05 13:55:44.723271863 +0100
754fbd
@@ -24,6 +24,7 @@
754fbd
 #include "CimXml.h"
754fbd
 #include <curl/curl.h>
754fbd
 #include <sstream>
754fbd
+#include <unistd.h>
754fbd
 
754fbd
 
754fbd
 class CimomCurl : public Cimom {
754fbd
diff -up sblim-wbemcli-1.6.2/CimXml.h.orig sblim-wbemcli-1.6.2/CimXml.h
754fbd
--- sblim-wbemcli-1.6.2/CimXml.h.orig	2012-01-05 13:54:52.445828446 +0100
754fbd
+++ sblim-wbemcli-1.6.2/CimXml.h	2012-01-05 13:54:52.449828480 +0100
754fbd
@@ -129,9 +129,9 @@ template<class T> class ArrayXml : publi
754fbd
   public:
754fbd
    ArrayXml() {}
754fbd
    ArrayXml<T> * clone() const { return new ArrayXml<T>(*this);}
754fbd
-   void add(const T& t) { push_back(t); }
754fbd
+   void add(const T& t) { this->push_back(t); }
754fbd
 #if !defined(GCC_VERSION) || GCC_VERSION >= 3000
754fbd
-   T& operator[] (size_type n) {return at(n);}
754fbd
+   T& operator[] (size_type n) {return this->at(n);}
754fbd
    const T& operator[] (size_type n) const {return at(n);}
754fbd
 #endif
754fbd
    T *get(int n)    { return &(*this)[n]; }