Skip to content

Conversation

giordano
Copy link
Contributor

Macros S_IRUSR, S_IWUSR, S_IRGRP, and S_IROTH are defined in
sys/stat.h. See for reference
https://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstat.h.html and
https://www.gnu.org/software/libc/manual/html_node/Permission-Bits.html.

The lack of this include causes a compilation error on FreeBSD.

@ompiteam-bot
Copy link

Can one of the admins verify this patch?

@awlauria
Copy link
Contributor

ok to test

@giordano giordano force-pushed the mg/sys-stat branch 2 times, most recently from cca5014 to 193e1be Compare May 13, 2022 22:23
Macros `S_IRUSR`, `S_IWUSR`, `S_IRGRP`, and `S_IROTH` are defined in
`sys/stat.h`.  See for reference
<https://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstat.h.html> and
<https://www.gnu.org/software/libc/manual/html_node/Permission-Bits.html>.

The lack of this include causes a compilation error on FreeBSD.

Signed-off-by: Mosè Giordano <[email protected]>
Copy link
Member

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome; thanks for making the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants