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:
Daniel Stone 2005-08-26 05:49:44 +00:00
parent 53e489c0e3
commit fd158d3d52

View File

@ -41,8 +41,8 @@
#include <X11/Xos.h>
/* Get prototype for ntohl. */
#include <ctype.h>
/* Get prototype for ntohl, per SuSv3. */
#include <arpa/inet.h>
/* OS/2 EMX has ntohl in this file */
#ifdef __UNIXOS2__