Now builds with Libnix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2809 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c212c7e5e0
commit
fbdf2d4d25
1 changed files with 12 additions and 1 deletions
13
fteqtv/qtv.h
13
fteqtv/qtv.h
|
@ -91,7 +91,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include <arpa/inet.h>
|
||||
#include <stdarg.h>
|
||||
#include <netdb.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -114,6 +113,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#define ioctlsocket ioctl
|
||||
#define closesocket close
|
||||
#elif (defined(__MORPHOS__) && !defined(ixemul))
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define ioctlsocket IoctlSocket
|
||||
#define closesocket CloseSocket
|
||||
#else
|
||||
#error "Please insert required headers here"
|
||||
//try the cygwin ones
|
||||
|
|
Loading…
Reference in a new issue