void-packages/srcpkgs/elfutils/patches/musl-concat.patch
2015-11-20 09:05:10 +01:00

18 lines
449 B
Diff

--- lib/fixedsizehash.h 2015-08-21 14:22:37.000000000 +0200
+++ lib/fixedsizehash.h 2015-11-20 05:05:45.648028916 +0100
@@ -30,12 +30,12 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <system.h>
-#define CONCAT(t1,t2) __CONCAT (t1,t2)
+#define CONCAT1(x,y) x##y
+#define CONCAT(x,y) CONCAT1(x,y)
/* Before including this file the following macros must be defined: