summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-04-27 21:34:41 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-04-27 21:34:41 +0000
commit2936e66f0fcff19ab00dbbbfbe99136ce7f6fe21 (patch)
treea7129e12c3fa4f2aebea130583b5172e509da582 /cpp
parent088f6cdbb43b6cd8bb9b8b5a2059fe17648b29b9 (diff)
downloadqpid-python-2936e66f0fcff19ab00dbbbfbe99136ce7f6fe21.tar.gz
Added necessary #include for memmove
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938675 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/sys/AsynchIO.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/AsynchIO.h b/cpp/src/qpid/sys/AsynchIO.h
index 4cd5d1c3fa..f1841639ed 100644
--- a/cpp/src/qpid/sys/AsynchIO.h
+++ b/cpp/src/qpid/sys/AsynchIO.h
@@ -23,6 +23,9 @@
#include "qpid/sys/IntegerTypes.h"
#include "qpid/CommonImportExport.h"
+
+#include <string.h>
+
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
@@ -90,7 +93,7 @@ struct AsynchIOBufferBase {
void squish() {
if (dataStart != 0) {
- memmove(bytes, bytes + dataStart, dataCount);
+ ::memmove(bytes, bytes + dataStart, dataCount);
dataStart = 0;
}
}