void-packages/srcpkgs/libedit/patches/no-cdefs-include.patch
Mat Boehlke ff3fa3df6f libedit: update to 20221009.3.1.
Patch out unnecessary sys/cdefs.h include to fix building with musl
2022-10-18 14:58:45 -04:00

14 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>