mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
OpenSolaris + SunPro C++ compile fix
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
//
|
||||
|
||||
|
||||
#if defined(sun) || defined(__sun) || defined(__sun__)
|
||||
#define __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
#include "Poco/Net/MulticastSocket.h"
|
||||
#include "Poco/Net/NetException.h"
|
||||
#include <cstring>
|
||||
|
@@ -33,6 +33,10 @@
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
#if defined(sun) || defined(__sun) || defined(__sun__)
|
||||
#define __EXTENSIONS__
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#include "Poco/Net/NetworkInterface.h"
|
||||
#include "Poco/Net/DatagramSocket.h"
|
||||
@@ -44,7 +48,6 @@
|
||||
#endif
|
||||
#include <cstring>
|
||||
|
||||
|
||||
using Poco::NumberFormatter;
|
||||
using Poco::FastMutex;
|
||||
|
||||
|
@@ -43,7 +43,10 @@
|
||||
#if defined(POCO_HAVE_FD_POLL)
|
||||
#include <poll.h>
|
||||
#endif
|
||||
|
||||
#if defined(sun) || defined(__sun) || defined(__sun__)
|
||||
#include <unistd.h>
|
||||
#include <stropts.h>
|
||||
#endif
|
||||
|
||||
using Poco::IOException;
|
||||
using Poco::TimeoutException;
|
||||
|
Reference in New Issue
Block a user