Fix build post r330299

This commit is contained in:
brooks 2018-03-02 23:31:55 +00:00
parent da9d8a0895
commit ca6208b512
2 changed files with 1 additions and 2 deletions

View File

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

View File

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