diff options
author | Ryan Schmidt <git@ryandesign.com> | 2022-12-05 13:25:05 -0600 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2022-12-07 15:56:43 -0500 |
commit | 33f1f4f795ee1f7841eacf84f76dbcb54fc328de (patch) | |
tree | 40656501f4b92c497f6f940a7d2e1e34f3ea015f /lib/config-mac.h | |
parent | 66fabeea2a418a1be4ff40be97fa3dae65966e47 (diff) | |
download | curl-33f1f4f795ee1f7841eacf84f76dbcb54fc328de.tar.gz |
config-mac: define HAVE_SYS_IOCTL_H
This is needed to compile nonblock.c on classic Mac OS with Grand
Unified Socket Interface (GUSI) because nonblock.c uses FIONBIO which is
defined in <sys/filio.h> which is included by <sys/ioctl.h>.
Ref: https://sourceforge.net/projects/gusi/
Closes https://github.com/curl/curl/pull/10042
Diffstat (limited to 'lib/config-mac.h')
-rw-r--r-- | lib/config-mac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config-mac.h b/lib/config-mac.h index 0ee185f8f..4a66edf6b 100644 --- a/lib/config-mac.h +++ b/lib/config-mac.h @@ -52,6 +52,7 @@ #define HAVE_UTIME_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UTIME_H 1 +#define HAVE_SYS_IOCTL_H 1 #define TIME_WITH_SYS_TIME 1 |