void-packages/srcpkgs/ndctl/patches/fix-musl.patch

16 lines
354 B
Diff

Source: maxice8
Upstream: soon
Reason: Fixes compilation on musl libc by defining missing ssize_t
--- util/strbuf.h
+++ util/strbuf.h
@@ -17,6 +17,7 @@
#define __NDCTL_STRBUF_H
#include <string.h>
#include <assert.h>
+#include <sys/types.h> /* for ssize_t */
/*
* Strbuf's can be use in many ways: as a byte array, or to store arbitrary
<Paste>