Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/accessibility/speech-dispatcher/files/patch-src_server_speechd.h
16149 views
1
--- src/server/speechd.h.orig 2015-06-04 01:52:14 UTC
2
+++ src/server/speechd.h
3
@@ -56,7 +56,7 @@
4
/* TODO: This fixes compilation for Mac OS X but might not be a correct
5
solution for other platforms. A better check is needed, possibly including
6
_POSIX_C_SOURCE and friends*/
7
-#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__APPLE__)
8
+#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__APPLE__) || defined(__FreeBSD__)
9
/* union semun is defined by including <sys/sem.h> */
10
#else
11
/* according to X/OPEN we have to define it ourselves */
12
13