]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
config-mac: define HAVE_SYS_IOCTL_H
authorRyan Schmidt <git@ryandesign.com>
Mon, 5 Dec 2022 19:25:05 +0000 (13:25 -0600)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 7 Dec 2022 20:56:43 +0000 (15:56 -0500)
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

lib/config-mac.h

index 0ee185f8f8e3534eee7ae49b924a4cd585cbdffa..4a66edf6b724bf796022938505caf480ee53452f 100644 (file)
@@ -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