Fix build post r330299
This commit is contained in:
parent
da9d8a0895
commit
ca6208b512
@ -94,13 +94,11 @@ key_t msgkey, semkey, shmkey;
|
||||
|
||||
int maxloop = 1;
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
union semun {
|
||||
int val; /* value for SETVAL */
|
||||
struct semid_ds *buf; /* buffer for IPC_{STAT,SET} */
|
||||
u_short *array; /* array for GETALL & SETALL */
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
/* Writes an integer to a file. To be used from the body of the test
|
||||
|
@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define _WANT_SYSVMSG_INTERNALS
|
||||
#include <sys/msg.h>
|
||||
#define _WANT_SYSVSEM_INTERNALS
|
||||
#define _WANT_SEMUN
|
||||
#include <sys/sem.h>
|
||||
#define _WANT_SYSVSHM_INTERNALS
|
||||
#include <sys/shm.h>
|
||||
|
Loading…
Reference in New Issue
Block a user