diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2010-04-27 21:34:41 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2010-04-27 21:34:41 +0000 |
| commit | 8f4749fd3d42d3a4fc78f6b45362d8163fd13fe6 (patch) | |
| tree | fc2bd7950ca3abc31f1ff52a545facd177d280a7 /qpid/cpp/src | |
| parent | ecfada63d7d14f442e0c6590b272e6d4de6e87b1 (diff) | |
| download | qpid-python-8f4749fd3d42d3a4fc78f6b45362d8163fd13fe6.tar.gz | |
Added necessary #include for memmove
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938675 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/sys/AsynchIO.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/AsynchIO.h b/qpid/cpp/src/qpid/sys/AsynchIO.h index 4cd5d1c3fa..f1841639ed 100644 --- a/qpid/cpp/src/qpid/sys/AsynchIO.h +++ b/qpid/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; } } |
