summaryrefslogtreecommitdiff
blob: 42fc10945ebe539f759a8facc22e2bd1f16cacd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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