Skip to content

fix: fix missing syscall.h file issue on QNX8#6385

Open
hnuduanyang wants to merge 1 commit into
eProsima:masterfrom
hnuduanyang:fix/fix_build_error_in_qnx8
Open

fix: fix missing syscall.h file issue on QNX8#6385
hnuduanyang wants to merge 1 commit into
eProsima:masterfrom
hnuduanyang:fix/fix_build_error_in_qnx8

Conversation

@hnuduanyang
Copy link
Copy Markdown

Description

When compiling Fast DDS debug build on QNX 8, <sys/syscall.h> is not available, causing build failure. Added conditional include with fallback to compile successfully on QNX platforms.

Signed-off-by: Duan Yang Yang.Duan@zf.com

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Any new/modified methods have been properly documented using Doxygen.
  • Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
  • Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • Changes are API compatible.
  • New feature has been added to the versions.md file (if applicable).
  • New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • If this is a critical bug fix, backports to the critical-only supported branches have been requested.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Signed-off-by: Yang.Duan <Yang.Duan@zf.com>
@hnuduanyang hnuduanyang force-pushed the fix/fix_build_error_in_qnx8 branch from e7f81ee to 815534e Compare April 29, 2026 12:08
@hnuduanyang
Copy link
Copy Markdown
Author

hi,
@emiliocuestaf , @richiprosima This PR fixes the build error on QNX 8 when <sys/syscall.h> is missing. The fix adds a conditional include with fallback.
Please review when you have time, thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant