diff -Naur xproto-7.0.16/Xos_r.h xproto-7.0.16-haiku/Xos_r.h
|
old
|
new
|
|
| 88 | 88 | # endif |
| 89 | 89 | #endif /* _XOS_R_H */ |
| 90 | 90 | |
| | 91 | #ifdef __HAIKU__ |
| | 92 | #define _POSIX_THREAD_SAFE_FUNCTIONS |
| | 93 | #endif |
| | 94 | |
| 91 | 95 | #ifndef WIN32 |
| 92 | 96 | |
| 93 | 97 | #ifdef __cplusplus |
diff -Naur xproto-7.0.16/configure.ac xproto-7.0.16-haiku/configure.ac
|
old
|
new
|
|
| 90 | 90 | fi |
| 91 | 91 | |
| 92 | 92 | if test "x$fds_bits_found" = xfalse ; then |
| | 93 | AC_CHECK_MEMBER(fd_set.bits, |
| | 94 | [ |
| | 95 | fds_bits_found=plain_simple |
| | 96 | USE_FDS_BITS="bits" |
| | 97 | ],, |
| | 98 | [ |
| | 99 | #ifdef HAVE_SYS_PARAM_H |
| | 100 | #include <sys/param.h> |
| | 101 | #endif |
| | 102 | #ifdef HAVE_SYS_TYPES_H |
| | 103 | #include <sys/types.h> |
| | 104 | #endif |
| | 105 | #ifdef HAVE_SYS_TIME_H |
| | 106 | #include <sys/time.h> |
| | 107 | #endif |
| | 108 | #ifdef HAVE_SYS_SELECT_H |
| | 109 | #include <sys/select.h> |
| | 110 | #endif |
| | 111 | ]) |
| | 112 | fi |
| | 113 | |
| | 114 | if test "x$fds_bits_found" = xfalse ; then |
| 93 | 115 | AC_MSG_ERROR([Could not determine how to access the fds_bits or equivalent |
| 94 | 116 | structure in fd_set on your platform.]) |
| 95 | 117 | fi |