aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-10-11 09:45:30 +0000
committerRichard Levitte <levitte@openssl.org>2000-10-11 09:45:30 +0000
commit2cb3c3b2bf7b4e56934a4065f6712e42e4f315e2 (patch)
treebcc2cf9356171d68351c3ed6f72545777704d62a
parent24802a6d9148198426e9975e570c214cae6a7a0e (diff)
downloadopenssl-2cb3c3b2bf7b4e56934a4065f6712e42e4f315e2.tar.gz
Fix from main trunk, 2000-09-29 22:14 levitte:
Include arpa/inet.h, since that's where htons() and friends are supposed to be defined according to XPG4.2. Found by Evan <n2xjk@ulster.net> for the MVS platform.
-rw-r--r--e_os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index 0c0784f9a9..4f9c983ef1 100644
--- a/e_os.h
+++ b/e_os.h
@@ -355,12 +355,14 @@ extern HINSTANCE _hInstance;
# if defined(VMS) && !defined(__DECC)
# include <socket.h>
# include <in.h>
+# include <inet.h>
# else
# include <sys/socket.h>
# ifdef FILIO_H
# include <sys/filio.h> /* Added for FIONBIO under unixware */
# endif
# include <netinet/in.h>
+# include <arpa/inet.h>
# endif
# if defined(NeXT) || defined(_NEXT_SOURCE)