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 | 2936e66f0fcff19ab00dbbbfbe99136ce7f6fe21 (patch) | |
| tree | a7129e12c3fa4f2aebea130583b5172e509da582 /cpp/src | |
| parent | 088f6cdbb43b6cd8bb9b8b5a2059fe17648b29b9 (diff) | |
| download | qpid-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/src')
| -rw-r--r-- | cpp/src/qpid/sys/AsynchIO.h | 5 |
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; } } |
