mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-12 03:21:17 +02:00
21 lines
528 B
C
21 lines
528 B
C
--- 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; /* Value for SETVAL */
|
|
struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */
|
|
unsigned short *array; /* Array for GETALL, SETALL */
|
|
+#ifdef __linux__
|
|
struct seminfo *__buf; /* Buffer for IPC_INFO (Linux specific) */
|
|
+#endif
|
|
};
|
|
+#endif
|
|
|
|
/*
|
|
* FIXME:
|