diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-09 18:36:00 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-09 18:36:00 -0800 |
commit | 6734b978113d2b827e74e5e77fad6a7d9bc7f757 (patch) | |
tree | 485a927ab46da3da337a073e11fb0a779edbba5f /cadr.c | |
parent | 1783f215d2e0e00b3b1c6db2a6a9df2ed3d699e3 (diff) | |
download | txr-6734b978113d2b827e74e5e77fad6a7d9bc7f757.tar.gz txr-6734b978113d2b827e74e5e77fad6a7d9bc7f757.tar.bz2 txr-6734b978113d2b827e74e5e77fad6a7d9bc7f757.zip |
POSIX requires <sys/select.h> for select function.
A patch being applied to TXR in the Void Linux distribution
informs me that the Musl library requires this. Traditional
Unix put the select materials in <sys/types.h> and <unistd.h>.
* configure: Add test for presence of <sys/select.h> and
whether that header actually declares select-related
declarations and macros. Define HAVE_SYS_SELECT_H
in config.h if so.
* socket.c: Conditionally include <sys/select.h>.
Diffstat (limited to 'cadr.c')
0 files changed, 0 insertions, 0 deletions