From e07cb7aadb2c76edb92004f368d73cf1085e6aad Mon Sep 17 00:00:00 2001 From: Nuno Santos Date: Fri, 17 Feb 2012 20:54:48 +0000 Subject: more fixes for compilation under fedora 18, new gcc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245757 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qmf/Hash.h | 2 +- cpp/src/qpid/sys/Shlib.h | 1 + cpp/src/qpid/sys/posix/SystemInfo.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/src/qmf/Hash.h b/cpp/src/qmf/Hash.h index e1eff84117..4bd76832aa 100644 --- a/cpp/src/qmf/Hash.h +++ b/cpp/src/qmf/Hash.h @@ -29,7 +29,7 @@ namespace qmf { class Hash { public: Hash(); - qpid::types::Uuid asUuid() const { return qpid::types::Uuid((unsigned char*) data); } + qpid::types::Uuid asUuid() const { return qpid::types::Uuid((const unsigned char*) data); } void update(const char* s, uint32_t len); void update(uint8_t v) { update((char*) &v, sizeof(v)); } void update(uint32_t v) { update((char*) &v, sizeof(v)); } diff --git a/cpp/src/qpid/sys/Shlib.h b/cpp/src/qpid/sys/Shlib.h index 7f66cfec14..2ce5a49fcb 100644 --- a/cpp/src/qpid/sys/Shlib.h +++ b/cpp/src/qpid/sys/Shlib.h @@ -23,6 +23,7 @@ */ #include "qpid/CommonImportExport.h" +#include "qpid/sys/IntegerTypes.h" #include #include diff --git a/cpp/src/qpid/sys/posix/SystemInfo.cpp b/cpp/src/qpid/sys/posix/SystemInfo.cpp index a19ab6885c..540cc8bc91 100755 --- a/cpp/src/qpid/sys/posix/SystemInfo.cpp +++ b/cpp/src/qpid/sys/posix/SystemInfo.cpp @@ -28,6 +28,7 @@ #include // For FreeBSD #include // For FreeBSD #include +#include #include #include #include -- cgit v1.2.1