Skip to content

Commit

Permalink
Merge pull request #2073 from pseiderer/ps-devel-iox-2072-fix-musl-co…
Browse files Browse the repository at this point in the history
…mpile-001

iox-#2072 Include mqueue.h needs sys/stat.h for mode_t (fixes musl compile)
  • Loading branch information
FerdinandSpitzschnueffler committed Nov 6, 2023
2 parents 65641c7 + 296c055 commit bf42822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/website/release-notes/iceoryx-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
- Remove `EXPECT_DEATH` [#1613](https://github.com/eclipse-iceoryx/iceoryx/issues/1613)
- ServiceDiscovery uses instrospection MemPools [#1359](https://github.com/eclipse-iceoryx/iceoryx/issues/1359)
- LockFreeQueue fails to support move-only types [\#2067](https://github.com/eclipse-iceoryx/iceoryx/issues/2067)
- Fix musl libc compile (missing sys/stat.h include in mqueue.h for mode_t definition) [\#2072](https://github.com/eclipse-iceoryx/iceoryx/issues/2072)

**Refactoring:**

Expand Down
1 change: 1 addition & 0 deletions iceoryx_platform/linux/include/iceoryx_platform/mqueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define IOX_HOOFS_LINUX_PLATFORM_MQUEUE_HPP

#include <mqueue.h>
#include <sys/stat.h>

mqd_t iox_mq_open2(const char* name, int oflag);
mqd_t iox_mq_open4(const char* name, int oflag, mode_t mode, struct mq_attr* attr);
Expand Down

0 comments on commit bf42822

Please sign in to comment.