In file included from ../win/X11/winX.c:42:
In file included from /opt/X11/include/X11/Xos.h:146:
/opt/X11/include/X11/Xarch.h:44:13: fatal error: 'sys/byteorder.h' file not found
^~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [winX.o] Error 1
Xarch.h has an #ifdef SVR4 block.
This commit is contained in:
@@ -199,6 +199,7 @@ typedef uchar nhsym;
|
|||||||
#define PORT_ID "Mac"
|
#define PORT_ID "Mac"
|
||||||
#endif
|
#endif
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
#undef SVR4 /* avoid a conflict in X11 header file */
|
||||||
#define PORT_ID "MacOS"
|
#define PORT_ID "MacOS"
|
||||||
#endif
|
#endif
|
||||||
#ifdef MSDOS
|
#ifdef MSDOS
|
||||||
|
|||||||
Reference in New Issue
Block a user