aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2006-08-04 18:53:47 +0000
committerDan Fandrich <dan@coneharvesters.com>2006-08-04 18:53:47 +0000
commitc012e2b408db31daf8b581255724d9fde9c37135 (patch)
treeaa89af04c9d835ac103f04b3a3f6050569f2435e /lib
parent646a6b604fefbdc019d9e7ff1f1cb1f171c9dcc3 (diff)
Initial stab at making libcurl compile under Minix 3.
Diffstat (limited to 'lib')
-rw-r--r--lib/if2ip.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 479428f80..f2631a7ba 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -33,9 +33,13 @@
#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__) && \
!defined(__riscos__) && !defined(__INTERIX) && !defined(NETWARE) && \
- !defined(_AMIGASF)
+ !defined(_AMIGASF) && !defined(_MINIX)
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>