diff options
Diffstat (limited to 'sysvipc/sys/sem.h')
-rw-r--r-- | sysvipc/sys/sem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysvipc/sys/sem.h b/sysvipc/sys/sem.h index 6ae76e2347..b44194520e 100644 --- a/sysvipc/sys/sem.h +++ b/sysvipc/sys/sem.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,7 +21,8 @@ #include <features.h> -#include <sys/types.h> +#define __need_size_t +#include <stddef.h> /* Get common definition of System V style IPC. */ #include <sys/ipc.h> @@ -51,7 +52,7 @@ extern int semget __P ((key_t __key, int __nsems, int __semflg)); /* Operate on semaphore. */ extern int semop __P ((int __semid, struct sembuf *__sops, - unsigned int __nsops)); + size_t __nsops)); __END_DECLS |