summaryrefslogtreecommitdiff
path: root/usr.bin/ipcrm
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-02-16 01:33:01 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-02-16 01:33:01 +0000
commit27b95863a97ba82be9da8e95e765c51d31a83ed1 (patch)
tree49500114b996d7f9b26d2f6c59cc89b5a835139f /usr.bin/ipcrm
parent2c64e2664b6ce570b6c22966b56a85477be8bfe3 (diff)
downloadsrc-test2-27b95863a97ba82be9da8e95e765c51d31a83ed1.tar.gz
src-test2-27b95863a97ba82be9da8e95e765c51d31a83ed1.zip
Notes
Diffstat (limited to 'usr.bin/ipcrm')
-rw-r--r--usr.bin/ipcrm/ipcrm.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/ipcrm/ipcrm.c b/usr.bin/ipcrm/ipcrm.c
index 8cfeec387a75..2ca65a3009e6 100644
--- a/usr.bin/ipcrm/ipcrm.c
+++ b/usr.bin/ipcrm/ipcrm.c
@@ -36,14 +36,12 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
-#define _WANT_MSG_PROTOTYPES
-#define _WANT_SEM_PROTOTYPES
-#define _WANT_SHM_PROTOTYPES
-#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 <ctype.h>
#include <err.h>