void-packages/srcpkgs/libffado/patches/musl-sigval_t.patch
2019-04-12 18:56:52 -03:00

14 lines
511 B
Diff

diff --git src/libutil/PosixMessageQueue.h src/libutil/PosixMessageQueue.h
index 05da300..c331c70 100644
--- src/libutil/PosixMessageQueue.h
+++ 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();