From 33f1f4f795ee1f7841eacf84f76dbcb54fc328de Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Mon, 5 Dec 2022 13:25:05 -0600 Subject: [PATCH] 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 which is included by . Ref: https://sourceforge.net/projects/gusi/ Closes https://github.com/curl/curl/pull/10042 --- lib/config-mac.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config-mac.h b/lib/config-mac.h index 0ee185f8f8..4a66edf6b7 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