summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-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;
}
}