https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209229
Bug ID: 209229
Summary: [PATCH] shmget(2) missing includes
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Keywords: patch
Created attachment 169907
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169907&action=edit
patch for shmget(2)
Hi,
shmget(2) man page says to include sys/types.h which is not necessary. Instead
sys/stat.h should be used because it contains S_IRUSR (and others).
Without sys/stat.h the compiler throws an error:
sgt.c:7:37: error: use of undeclared identifier 'S_IRUSR'
I have attached the patch.
BR,
Marko
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"