Merge pull request #72 from Memphiz/fixosxcompile

[osx] - fix compile
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2014-04-10 18:20:52 -07:00
commit 06b64cc6c2
2 changed files with 7 additions and 4 deletions

View File

@ -28,6 +28,9 @@
#if defined(AROS)
#include <sys/time.h>
#endif
#if defined(__APPLE__) && defined(__MACH__)
#include <sys/time.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@ -29,6 +29,10 @@
#include "win32_compat.h"
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
@ -49,10 +53,6 @@
#include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif