diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-07-17 12:47:27 -0400 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-07-17 12:47:27 -0400 |
commit | 80d77f6af09057cd118a7fd2aceedbd986169981 (patch) | |
tree | 450a327fd0e3d8b1f86c63bd39bc913c18e753ee /cpp/src | |
parent | Build fix (diff) | |
download | ice-80d77f6af09057cd118a7fd2aceedbd986169981.tar.bz2 ice-80d77f6af09057cd118a7fd2aceedbd986169981.tar.xz ice-80d77f6af09057cd118a7fd2aceedbd986169981.zip |
Fixes to allow multicast support to build on HP-UX
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index 036396b50df..0ee86c6472d 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -7,6 +7,16 @@ // // ********************************************************************** +// +// The following is required on HP-UX in order to bring in +// the definition for the ip_mreq structure. +// +#ifdef __hpux +#undef _XOPEN_SOURCE_EXTENDED +#define _XOPEN_SOURCE +#include <netinet/in.h> +#endif + #include <IceUtil/StaticMutex.h> #include <Ice/Network.h> #include <Ice/LocalException.h> |