[PATCH 10/39] ipc.2: Add needed include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The constants needed for using this function are defined in
<linux/ipc.h>.  Add the include, even when those constants are not
mentioned in this manual page.

Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man2/ipc.2 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man2/ipc.2 b/man2/ipc.2
index f505fa1c9..4ce29ca69 100644
--- a/man2/ipc.2
+++ b/man2/ipc.2
@@ -27,6 +27,7 @@
 ipc \- System V IPC system calls
 .SH SYNOPSIS
 .nf
+.BR "#include <linux/ipc.h>" "        /* Definition of needed constants */"
 .BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .PP
-- 
2.31.1




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux