void-packages/srcpkgs/ndctl/patches/fix-musl.patch
2018-06-27 09:51:15 -03:00

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