mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329390
|
@ -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…
Reference in a new issue