void-packages/srcpkgs/libffado/patches/musl-sigval_t.patch

15 lines
515 B
Diff

diff --git src/libutil/PosixMessageQueue.h src/libutil/PosixMessageQueue.h
index 05da300..c331c70 100644
--- a/src/libutil/PosixMessageQueue.h
+++ b/src/libutil/PosixMessageQueue.h
@@ -115,7 +115,7 @@ public:
private:
bool doOpen(enum eDirection t, int, enum eBlocking);
- static void notifyCallbackStatic(sigval_t t) {
+ static void notifyCallbackStatic(union sigval t) {
PosixMessageQueue *obj;
obj = static_cast<PosixMessageQueue *>(t.sival_ptr);
obj->notifyCallback();