ports/math/rcalc/files/patch-aa
2000-04-20 22:39:56 +00:00

11 lines
424 B
Text

--- 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 */