Provide declarations of hton*() and ntoh*()
This commit is contained in:
parent
402982f901
commit
1c792fb97c
3 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <netinet/in.h> // htonl() ntohl()
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <netinet/in.h> // htonl() ntohl()
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <netinet/in.h> // htonl() ntohl()
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
|
Loading…
Reference in a new issue