Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
curl: portability check for sys/sockio.h at configure time
Baptiste Daroussin committed 2 years ago
commit 8f66a29cd645e1eb8df19f6428c305e22d005cae
parent 64c7cd1
2 files changed +4 -2
modified auto.def
@@ -220,7 +220,7 @@ cc-check-includes link.h machine/endian.h osreldate.h readpassphrase.h \
	sys/procctl.h sys/statfs.h sys/statvfs.h libutil.h

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

#endian stuff
foreach header [list endian.h sys/endian.h] {
@@ -345,6 +345,7 @@ if {[get-define CCACHE] ne {none}} {

make-config-header pkg_config.h -bare { DEFAULT_* }
make-config-header external/sqlite/sqlite_cfg.h
+
make-config-header external/libcurl/curl_cfg.h
make-template mk/defs.mk.in
make-template libpkg/pkg.h.in
make-template libpkg/pkg.pc.in
modified external/libcurl/curl_config.h
@@ -661,7 +661,7 @@
#define HAVE_SYS_SOCKET_H 1

/* Define to 1 if you have the <sys/sockio.h> header file. */
-
#define HAVE_SYS_SOCKIO_H 1
+
/* #undef #define HAVE_SYS_SOCKIO_H 1 */

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
@@ -981,3 +981,4 @@

/* the signed version of size_t */
/* #undef ssize_t */
+
#include "curl_cfg.h"