diff -u -r cygipc-1.03.orig/include/IpcNtStr.h cygipc-1.03/include/IpcNtStr.h --- cygipc-1.03.orig/include/IpcNtStr.h Sat Feb 05 07:42:28 2000 +++ cygipc-1.03/include/IpcNtStr.h Thu Feb 17 15:56:11 2000 @@ -68,7 +68,9 @@ struct semid_ds *semary[SEMMNI]; int state[SEMMNI] ; - struct current_nb current_nb[SEMMNI] ; + struct current_nb { + int current_nb[SEMOPM]; + } current_nb[SEMMNI]; int used_sems ; int used_semids ; diff -u -r cygipc-1.03.orig/include/sys/sem.h cygipc-1.03/include/sys/sem.h --- cygipc-1.03.orig/include/sys/sem.h Sat Feb 05 07:42:23 2000 +++ cygipc-1.03/include/sys/sem.h Thu Feb 17 15:52:53 2000 @@ -96,12 +96,7 @@ #define SEMAEM (SEMVMX >> 1) /* adjust on exit max value */ #define SEMMAP SEMMNS /* # of entries in semaphore map */ #define SEMUSZ 20 /* sizeof struct sem_undo */ - -struct current_nb { - - int current_nb[SEMOPM] ; -} ; - + /* One semaphore structure for each semaphore in the system. */ struct sem { short semval; /* current value */