Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix portability issues with musl libc
Baptiste Daroussin committed 7 years ago
commit 5f6f18f15dc994fc0ac7757cbd16d18a155de2b5
parent be02ec2
2 files changed +3 -0
modified external/libelf/libelf.h
@@ -176,6 +176,7 @@ enum Elf_Error {
#define	ELF_F_ARCHIVE	   0x100U /* archive creation */
#define	ELF_F_ARCHIVE_SYSV 0x200U /* SYSV style archive */

+
#include <sys/cdefs.h>
__BEGIN_DECLS
Elf		*elf_begin(int _fd, Elf_Cmd _cmd, Elf *_elf);
int		elf_cntl(Elf *_elf, Elf_Cmd _cmd);
modified external/libfetch/fetch.h
@@ -87,6 +87,8 @@ struct url_ent {
#define	FETCH_URL	18
#define	FETCH_VERBOSE	19

+
#include <sys/cdefs.h>
+

__BEGIN_DECLS

/* FILE-specific functions */