summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorAndy Broad <andy@broad.ology.org.uk>2015-08-13 22:08:12 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-09-05 11:12:45 -0400
commit763ee752b023316907cb19d5597c20db4592224b (patch)
tree424fb48f9afdcac540cc59bb20ea0521e4a66a30 /perl.h
parentba12e08f46d19bf7888d72f591f229fc434a3c17 (diff)
downloadperl-763ee752b023316907cb19d5597c20db4592224b.tar.gz
amigaos4: unistd.h needs netinet/in.h
Diffstat (limited to 'perl.h')
-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