Author: lwhsu (ports committer) Date: Fri Feb 16 18:07:04 2018 New Revision: 329390 URL: https://svnweb.freebsd.org/changeset/base/329390
Log: 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 Modified: head/usr.bin/ipcs/ipc.c head/usr.bin/ipcs/ipcs.c Modified: head/usr.bin/ipcs/ipc.c ============================================================================== --- head/usr.bin/ipcs/ipc.c Fri Feb 16 18:04:27 2018 (r329389) +++ head/usr.bin/ipcs/ipc.c Fri Feb 16 18:07:04 2018 (r329390) @@ -35,11 +35,12 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/sysctl.h> -#define _KERNEL +#define _WANT_SYSVMSG_INTERNALS +#include <sys/msg.h> +#define _WANT_SYSVSEM_INTERNALS #include <sys/sem.h> +#define _WANT_SYSVSHM_INTERNALS #include <sys/shm.h> -#include <sys/msg.h> -#undef _KERNEL #include <assert.h> #include <err.h> Modified: head/usr.bin/ipcs/ipcs.c ============================================================================== --- head/usr.bin/ipcs/ipcs.c Fri Feb 16 18:04:27 2018 (r329389) +++ head/usr.bin/ipcs/ipcs.c Fri Feb 16 18:07:04 2018 (r329390) @@ -32,11 +32,12 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/proc.h> -#define _KERNEL +#define _WANT_SYSVMSG_INTERNALS +#include <sys/msg.h> +#define _WANT_SYSVSEM_INTERNALS #include <sys/sem.h> +#define _WANT_SYSVSHM_INTERNALS #include <sys/shm.h> -#include <sys/msg.h> -#undef _KERNEL #include <err.h> #include <fcntl.h> _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"