You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/elfutils/files/musl/elfutils-0.185-cdefs.patch

21 lines
394 B

From: Jory Pratt <anarchy@gentoo.org>
Date: Thu, 12 Dec 2019 22:38:30 -0600
Subject: [PATCH 3/3] Fix cdefs.h include for musl
--- a/lib/fixedsizehash.h
+++ b/lib/fixedsizehash.h
@@ -30,8 +30,11 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#if !defined(__GLIBC__)
+#include <bsd/sys/cdefs.h>
+#else
#include <sys/cdefs.h>
-
+#endif
#include <system.h>
#ifdef __CONCAT