--- src/pcm/pcm_direct.c.orig 2016-03-31 13:10:39 UTC
+++ src/pcm/pcm_direct.c
@@ -44,12 +44,17 @@
*
*/
+#if !defined(__DragonFly__) && !defined(__OpenBSD__) \
+ && !(defined(__FreeBSD__) && __FreeBSD__ < 12)
union semun {
int val;
struct semid_ds *buf;
unsigned short *array;
+#ifdef __linux__
struct seminfo *__buf;
+#endif
};
+#endif