1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/math/rcalc/files/patch-aa
2000-04-20 22:39:56 +00:00

12 lines
424 B
Plaintext

--- src/config.c.orig Sat Apr 15 13:21:31 2000
+++ src/config.c Thu Apr 20 11:52:30 2000
@@ -191,7 +191,7 @@
/* From the man page of semctl(2)
*/
-#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
+#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) || defined(__FreeBSD__)
/* union semun is defined by including <sys/sem.h> */
#else
/* according to X/OPEN we have to define it ourselves */