diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-12 22:06:05 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-12 22:06:05 +0000 |
commit | a3f9223b8714edf9abd00efc3fc8a087202f1e98 (patch) | |
tree | 864e80e1bc17b9b6822075f787db1998df1cf778 /ext | |
parent | 8bdb6b785a3cb52035ddc04a87c7205d48a625a6 (diff) | |
download | perl-a3f9223b8714edf9abd00efc3fc8a087202f1e98.tar.gz |
small tweaks from Jarkko Hietaniemi <jhi@cc.hut.fi>
p4raw-id: //depot/perl@1457
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Socket/Socket.xs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index cefcb24422..ec0f633974 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -14,7 +14,9 @@ # include <netinet/in.h> # endif #include <netdb.h> -#include <arpa/inet.h> +#ifdef I_ARPA_INET +# include <arpa/inet.h> +#endif #else #include "sockadapt.h" #endif |