Skip to content
Snippets Groups Projects
Commit e10b8388f27b authored by Jörg Sonnenberger's avatar Jörg Sonnenberger
Browse files

portability: fix build on Solaris-derived systemd

Current Illumos and older Solaris require _XOPEN_SOURCE for
msg_control. O_DIRECTORY doesn't exist on older systems either,
so fallback to O_RDONLY. It's good enough as a repository will
require both R and X permission anyway.
parent 21442f87f7fa
1 merge request!873portability: Solaris-derived systems need _XOPEN_SOURCE for msg_control
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment