mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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 <arpa/inet.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
@ -114,6 +113,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#define ioctlsocket ioctl
|
#define ioctlsocket ioctl
|
||||||
#define closesocket close
|
#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
|
#else
|
||||||
#error "Please insert required headers here"
|
#error "Please insert required headers here"
|
||||||
//try the cygwin ones
|
//try the cygwin ones
|
||||||
|
|
Loading…
Reference in a new issue