void-packages/srcpkgs/libedit/patches/no-cdefs-include.patch

15 lines
318 B
Diff

fixes musl build
diff --git a/src/reallocarr.c b/src/reallocarr.c
index c637ab4..549573a 100644
--- a/src/reallocarr.c
+++ b/src/reallocarr.c
@@ -37,7 +37,6 @@
#include "nbtool_config.h"
#endif
-#include <sys/cdefs.h>
__RCSID("$NetBSD: reallocarr.c,v 1.5 2015/08/20 22:27:49 kamil Exp $");
#include <errno.h>