Undefine SVR4 whilst including #include <X11/Xos_r.h> to prevent sys/byteorder.h
missing header error.
This commit is contained in:
parent
bcfc468cdc
commit
b2b6d0d386
|
|
@ -32,7 +32,14 @@
|
|||
|
||||
#define X_INCLUDE_TIME_H
|
||||
#define XOS_USE_NO_LOCKING
|
||||
|
||||
#if defined(linux)
|
||||
#undef SVR4
|
||||
#endif
|
||||
#include <X11/Xos_r.h>
|
||||
#if defined(linux)
|
||||
#define SVR4
|
||||
#endif
|
||||
|
||||
#include <syslog.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,13 @@
|
|||
#endif
|
||||
#define X_INCLUDE_PWD_H
|
||||
#define XOS_USE_XT_LOCKING
|
||||
#if defined(linux)
|
||||
#undef SVR4
|
||||
#endif
|
||||
#include <X11/Xos_r.h>
|
||||
#if defined(linux)
|
||||
#define SVR4
|
||||
#endif
|
||||
|
||||
extern char * strdup(const char *);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue