Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
sys/sockio.h: detect via C23 instead of configure script
Baptiste Daroussin committed 3 months ago
commit 906ed6401f4f2839fb492620aff17aea3a0cfd9f
parent 9cd3f1b
2 files changed +5 -3
modified auto.def
@@ -215,9 +215,6 @@ if {![cc-check-functions dlclose]} {
cc-check-includes link.h machine/endian.h readpassphrase.h \
	sys/procctl.h sys/statfs.h libutil.h

-
# for compat
-
cc-check-includes sys/sockio.h
-

#endian stuff
foreach fct [list be16dec be16enc be32dec be32enc be64dec be64enc le16dec le16enc le32dec le32enc le64dec le64enc] {
	foreach header [list endian.h sys/endian.h machine/endian.h] {
modified external/libcurl/curl_config.h
@@ -1021,4 +1021,9 @@

/* the signed version of size_t */
/* #undef ssize_t */
+

+
#if __has_include(<sys/sockio.h>)
+
#define HAVE_SYS_SOCKIO_H 1
+
#endif
+

#include "curl_cfg.h"