Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177718419
D14398.1795120749.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
974 B
Referenced Files
None
Subscribers
None
D14398.1795120749.diff
View Options
Index: head/usr.bin/ipcs/ipc.c
===================================================================
--- head/usr.bin/ipcs/ipc.c
+++ head/usr.bin/ipcs/ipc.c
@@ -35,11 +35,12 @@
#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>
Index: head/usr.bin/ipcs/ipcs.c
===================================================================
--- head/usr.bin/ipcs/ipcs.c
+++ head/usr.bin/ipcs/ipcs.c
@@ -32,11 +32,12 @@
#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>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 19, 8:39 PM (12 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41852655
Default Alt Text
D14398.1795120749.diff (974 B)
Attached To
Mode
D14398: Follow r329348 in ipcs for getting rid of the requirement to include SysV IPC headers with _KERNEL
Attached
Detach File
Event Timeline