Get prototype for ntohl from SuSv3-compliant location, fixing it for
systems which define ntohl as a macro only, not both macro and function. (Debian #076)
This commit is contained in:
parent
53e489c0e3
commit
fd158d3d52
|
@ -41,8 +41,8 @@
|
||||||
|
|
||||||
#include <X11/Xos.h>
|
#include <X11/Xos.h>
|
||||||
|
|
||||||
/* Get prototype for ntohl. */
|
/* Get prototype for ntohl, per SuSv3. */
|
||||||
#include <ctype.h>
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
/* OS/2 EMX has ntohl in this file */
|
/* OS/2 EMX has ntohl in this file */
|
||||||
#ifdef __UNIXOS2__
|
#ifdef __UNIXOS2__
|
||||||
|
|
Loading…
Reference in New Issue