summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 9ff2015544..86ed07569c 100644
--- a/perl.h
+++ b/perl.h
@@ -777,6 +777,11 @@
/* If this causes problems, set i_unistd=undef in the hint file. */
#ifdef I_UNISTD
+# if defined(__amigaos4__)
+# ifdef I_NETINET_IN
+# include <netinet/in.h>
+# endif
+# endif
# include <unistd.h>
# if defined(__amigaos4__)
/* Under AmigaOS 4 newlib.library provides an environ. However using