mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 00:40:05 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue