diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2011-05-05 19:40:45 +0800 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2011-05-05 19:42:04 +0800 |
commit | cde00a25eec9ff33f61f8adf2a9f5fb4be75eb6e (patch) | |
tree | 72eef6df977348c91f66d16633d348dcbe7b9eda | |
parent | 878fc9221232e8ce2efa09fb0543c377e4787c0e (diff) |
gcc 4.6: fixed compile issue
gcc 4.6 seems to change header dependencies. cstddef must
be included explicitly. Kudos to Peter Robinson for
reporting this and providing the patch.
-rwxr-xr-x | src/sysync/binfileimplclient.cpp | 1 | ||||
-rwxr-xr-x | src/sysync/binfileimplds.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/sysync/binfileimplclient.cpp b/src/sysync/binfileimplclient.cpp index 16bad84..9b73c9c 100755 --- a/src/sysync/binfileimplclient.cpp +++ b/src/sysync/binfileimplclient.cpp @@ -19,6 +19,7 @@ #include "binfileimplclient.h" #include "binfileimplds.h" #include "syserial.h" +#include <cstddef> namespace sysync { diff --git a/src/sysync/binfileimplds.cpp b/src/sysync/binfileimplds.cpp index 3b271ab..6d11ae0 100755 --- a/src/sysync/binfileimplds.cpp +++ b/src/sysync/binfileimplds.cpp @@ -19,6 +19,7 @@ #include "sysync.h" #include "binfileimplclient.h" #include "binfileimplds.h" +#include <cstddef> #if defined(BINFILE_ALWAYS_ACTIVE) && defined(SYSYNC_SERVER) #error "BINFILE_ALWAYS_ACTIVE is not compatible with server-enabled builds" |