summaryrefslogblamecommitdiff
path: root/math/rcalc/files/patch-aa
blob: 0c6b505d86c9a817328ee4eaeecea217d9134e38 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










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