Follow r329348 in ipcs for getting rid of the requirement to include SysV IPC
headers with _KERNEL Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D14398
This commit is contained in:
parent
c2bddfdc51
commit
ab4a4d40ae
@ -35,11 +35,12 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#define _KERNEL
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
#define _WANT_SYSVMSG_INTERNALS
|
||||
#include <sys/msg.h>
|
||||
#undef _KERNEL
|
||||
#define _WANT_SYSVSEM_INTERNALS
|
||||
#include <sys/sem.h>
|
||||
#define _WANT_SYSVSHM_INTERNALS
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <err.h>
|
||||
|
@ -32,11 +32,12 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
#define _KERNEL
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
#define _WANT_SYSVMSG_INTERNALS
|
||||
#include <sys/msg.h>
|
||||
#undef _KERNEL
|
||||
#define _WANT_SYSVSEM_INTERNALS
|
||||
#include <sys/sem.h>
|
||||
#define _WANT_SYSVSHM_INTERNALS
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <fcntl.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user