mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
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.
This commit is contained in:
parent
a87aa87bcc
commit
a269d312da
2
e_os.h
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user