Comment: | Make includes of unistd.h and fcntl.h conditional |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1287e77e04b62f04c44eddd5ae1e892f |
User & Date: | js on 2017-05-22 23:31:26 |
Other Links: | manifest | tags |
2017-05-25
| ||
15:09 | -[OFMutableDictionary addEntiresFromDictionary:] check-in: 88a584a16f user: js tags: trunk | |
2017-05-22
| ||
23:31 | Make includes of unistd.h and fcntl.h conditional check-in: 1287e77e04 user: js tags: trunk | |
22:00 | Omit check for select() / poll() on certain OSes check-in: f81f162b33 user: js tags: trunk | |
Modified configure.ac from [fadaf984e1] to [2d6f795b86].
︙ | |||
935 936 937 938 939 940 941 | 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 | - + | AC_DEFINE(HAVE_READDIR_R, 1, [Whether we have readdir_r()]) ], [ AC_MSG_RESULT(no) ]) OBJCFLAGS="$old_OBJCFLAGS" ]) |
︙ |
Modified src/OFApplication.m from [e40754826f] to [4dabbbf60b].
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + + - + + | #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <signal.h> #ifdef HAVE_UNISTD_H |
︙ |
Modified src/OFFile.m from [018b6789b8] to [867ccc3495].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + - - + + + + + | * file. */ #include "config.h" #include <errno.h> #ifdef HAVE_FCNTL_H |
︙ |
Modified src/OFFileManager.m from [54d3223c13] to [6850bf008a].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + - - + + + + + | * file. */ #include "config.h" #include <errno.h> #ifdef HAVE_DIRENT_H |
︙ |
Modified src/OFKernelEventObserver_epoll.m from [e75e01d402] to [5e58174b96].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + - - + + + + + | */ #include "config.h" #include <assert.h> #include <errno.h> #ifdef HAVE_FCNTL_H |
︙ |
Modified src/OFKernelEventObserver_kqueue.m from [4a787d392f] to [06b782a930].
︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + - - + + + + + | #include "config.h" #include <assert.h> #include <errno.h> #include <math.h> #ifdef HAVE_FCNTL_H |
︙ |
Modified src/OFProcess.m from [57b3b6c720] to [c5ef32205f].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | + - + + + - + + | /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #include "platform.h" #include <signal.h> |
︙ |
Modified src/OFStdIOStream.m from [d6e666357c] to [2c73c952bc].
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + + - + + | /* Work around __block being used by glibc */ #include <stdlib.h> /* include any libc header to get the libc defines */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #include <errno.h> #ifdef HAVE_UNISTD_H |
︙ |
Modified src/OFSystemInfo.m from [83b5606b17] to [bfa2f21764].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + - + + | /* Work around __block being used by glibc */ #include <stdlib.h> /* include any libc header to get the libc defines */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #ifdef HAVE_UNISTD_H |
︙ |
Modified src/OFTCPSocket.m from [16f6a959b9] to [56b097e84a].
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | + - + + | #include <assert.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef HAVE_FCNTL_H |
︙ |
Modified src/OFThread.m from [b1f565231d] to [0372a1b765].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #include "platform.h" |
︙ |
Modified src/OFUDPSocket.m from [83754f70d8] to [a9d215ce51].
︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | + - + + | #include "config.h" #include <assert.h> #include <errno.h> #include <string.h> #ifdef HAVE_FCNTL_H |
︙ |
Modified src/socket_helpers.h from [77b020019f] to [8ff5d2ca5e].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + - + + | #include "config.h" /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #ifdef HAVE_UNISTD_H |
︙ |