Skip to content

Commit

Permalink
Include arpa/inet.h, since that's where htons() and friends are
Browse files Browse the repository at this point in the history
supposed to be defined according to XPG4.2.
Found by Evan <n2xjk@ulster.net> for the MVS platform.
  • Loading branch information
levitte committed Sep 29, 2000
1 parent a87aa87 commit a269d31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a269d31

Please sign in to comment.