add support for opensolaris
parent
93e9306f80
commit
647d2ea11c
1
README
1
README
|
@ -44,6 +44,7 @@ Cygwin: - tested under 64bit win2k8.
|
|||
MacOSX: - tested with SDK 10.4 (under Snow Leopard) - should also work with later SDKs and 64Bit
|
||||
iOS: - tested with iOS SDK 4.2 - running on iOS 4.3.x
|
||||
FreeBSD:- tested with 8.2
|
||||
OpenSolaris
|
||||
|
||||
|
||||
Cygwin
|
||||
|
|
|
@ -49,6 +49,7 @@ case $host in
|
|||
;;
|
||||
*solaris*)
|
||||
AC_CHECK_HEADERS([sys/filio.h])
|
||||
AC_CHECK_HEADERS([sys/sockio.h])
|
||||
if test x$ENABLE_EXAMPLES = xyes; then
|
||||
AC_CHECK_LIB([socket], [main], , [AC_MSG_ERROR([Can not find required library])])
|
||||
AC_CHECK_LIB([nsl], [main], , [AC_MSG_ERROR([Can not find required library])])
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <netdb.h>
|
||||
#ifdef HAVE_SYS_SOCKIO_H
|
||||
#include <sys/sockio.h>
|
||||
#endif
|
||||
#include "libnfs.h"
|
||||
#include "libnfs-raw.h"
|
||||
#include "libnfs-raw-mount.h"
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
#ifdef HAVE_SYS_FILIO_H
|
||||
#include <sys/filio.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKIO_H
|
||||
#include <sys/sockio.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
|
Loading…
Reference in New Issue