Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
configure: stop testing link.h
Baptiste Daroussin committed 3 months ago
commit db2e1aec57b83caa837346a3e5346c9427645992
parent 08c85fc
2 files changed +2 -2
modified auto.def
@@ -203,7 +203,7 @@ if {![cc-check-functions dlclose]} {
	}
}

-
cc-check-includes link.h machine/endian.h readpassphrase.h \
+
cc-check-includes machine/endian.h readpassphrase.h \
	sys/procctl.h sys/statfs.h libutil.h

#endian stuff
modified libpkg/pkg_elf.c
@@ -27,7 +27,7 @@
#include <fcntl.h>
#include <gelf.h>
#include <libgen.h>
-
#if defined(HAVE_LINK_H) && !defined(__DragonFly__) && defined(HAVE_LIBELF)
+
#if __has_include(<link.h>) && !defined(__DragonFly__) && defined(HAVE_LIBELF)
#include <link.h>
#endif
#include <paths.h>