aboutsummaryrefslogtreecommitdiffstats
path: root/man2/msgop.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/msgop.2')
-rw-r--r--man2/msgop.28
1 files changed, 3 insertions, 5 deletions
diff --git a/man2/msgop.2 b/man2/msgop.2
index 3f74f81d38..295e09b3a6 100644
--- a/man2/msgop.2
+++ b/man2/msgop.2
@@ -560,15 +560,13 @@ message received: a message at Wed Mar 4 16:25:45 2015
\&
.\" SRC BEGIN (msgop.c)
.EX
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-#include <unistd.h>
-#include <errno.h>
-#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
+#include <time.h>
+#include <unistd.h>
struct msgbuf {
long mtype;