1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Initial stab at making libcurl compile under Minix 3.

This commit is contained in:
Dan Fandrich 2006-08-04 18:53:47 +00:00
parent 646a6b604f
commit c012e2b408
2 changed files with 6 additions and 2 deletions

View File

@ -55,7 +55,7 @@
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish /* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
libc5-based Linux systems. Only include it on system that are known to libc5-based Linux systems. Only include it on system that are known to
require it! */ require it! */
#if defined(_AIX) || defined(NETWARE) || defined(__NetBSD__) #if defined(_AIX) || defined(NETWARE) || defined(__NetBSD__) || defined(_MINIX)
#include <sys/select.h> #include <sys/select.h>
#endif #endif

View File

@ -33,9 +33,13 @@
#include "if2ip.h" #include "if2ip.h"
/*
* This test can probably be simplified to #if defined(SIOCGIFADDR) and
* moved after the following includes.
*/
#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN__) && \ #if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN__) && \
!defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \ !defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \
!defined(_AMIGASF) !defined(_AMIGASF) && !defined(_MINIX)
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>