summaryrefslogtreecommitdiff
path: root/multimedia/py-kaa-base/files/patch-base-src-extensions-shmmodule.c
blob: 982946d5a840fa44ecbf1ceaff3bc6dda7c23038 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/extensions/shmmodule.c.orig	Sat Mar 10 11:49:38 2007
+++ src/extensions/shmmodule.c	Sat Mar 10 16:59:55 2007
@@ -114,12 +114,13 @@
 
 /* Uncomment the following line if <sys/sem.h> defines "union semun" */
 
-/* #define HAVE_UNION_SEMUN */
+#define HAVE_UNION_SEMUN
 
 /* ------------------------------------------------------------------------- */
 #include "Python.h"
 #include "structmember.h"
 
+#include <machine/param.h>
 #include <sys/types.h>
 #include <sys/ipc.h>		/* for system's IPC_xxx definitions */
 #include <sys/shm.h>		/* for shmget, shmat, shmdt, shmctl */