summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-29 20:14:57 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-29 20:14:57 +0000
commita269d312dae19bfc902c3f24d46e76799c3782f4 (patch)
treec31e088f3e53c3c125590ff1344183757bbbfa5b /e_os.h
parenta87aa87bccc745aac0fbfe8354a03ea09fdca1cd (diff)
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.
Diffstat (limited to 'e_os.h')
-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)