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:
nhmall
2023-05-11 23:26:08 -04:00
parent 7737fcc97c
commit e70310c67b

View File

@@ -199,6 +199,7 @@ typedef uchar nhsym;
#define PORT_ID "Mac"
#endif
#ifdef __APPLE__
#undef SVR4 /* avoid a conflict in X11 header file */
#define PORT_ID "MacOS"
#endif
#ifdef MSDOS