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:
Martin Baulig
1998-07-17 13:56:37 +00:00
committed by Martin Baulig
parent 5f4131f248
commit 74ca45f795
2 changed files with 15 additions and 0 deletions

View File

@@ -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) +