Applied patch from Albert K T Hui <avatar@deva.net> for glibc 2.1.
1998-07-17 Martin Baulig <baulig@Stud.Informatik.uni-trier.de> * sysdeps/linux/sem_limits.c: Applied patch from Albert K T Hui <avatar@deva.net> for glibc 2.1.
This commit is contained in:
committed by
Martin Baulig
parent
5f4131f248
commit
74ca45f795
@@ -24,6 +24,16 @@
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
|
||||
#ifdef _SEM_SEMUN_UNDEFINED
|
||||
union semun
|
||||
{
|
||||
int val;
|
||||
struct semid_ds *buf;
|
||||
unsigned short int *array;
|
||||
struct seminfo *__buf;
|
||||
};
|
||||
#endif
|
||||
|
||||
static unsigned long _glibtop_sysdeps_sem_limits =
|
||||
(1 << GLIBTOP_IPC_SEMMAP) + (1 << GLIBTOP_IPC_SEMMNI) +
|
||||
(1 << GLIBTOP_IPC_SEMMNS) + (1 << GLIBTOP_IPC_SEMMNU) +
|
||||
|
Reference in New Issue
Block a user