Skip to content

Build fix for OpenBSD - #22371

Open
brad0 wants to merge 1 commit into
darktable-org:masterfrom
brad0:openbsd_darktable_h
Open

brad0 wants to merge 1 commit into
darktable-org:masterfrom
brad0:openbsd_darktable_h

Conversation

@brad0

@brad0 brad0 commented Sep 23, 2026

Copy link
Copy Markdown

Summary

Build fix for OpenBSD

Add a typedef as is done like FreeBSD above this.

Also correct the header while here; sys/types.h is the proper header
to use with sys/sysctl.h.

Checklist

  • I have read CONTRIBUTING.md and the coding style.
  • I have not merged master into the topic branch.
  • The pull request is one logical change, and every commit compiles on its own.
  • I ran the relevant tests: unit tests, src/tests/integration/ where the pixelpipe is touched, or darktable-cli as a headless smoke test.
  • New user-visible strings use _(), new preferences are registered in data/darktableconfig.xml.in.
  • A RELEASE_NOTES.md entry was added (only needed if fixing an issue in a release). Do not reference GitHub issues.

Test instructions

Build on OpenBSD and it fails to build with missing u_long.

Add a typedef as is done like FreeBSD above this.

Also correct the header while here; sys/types.h is the proper header
to use with sys/sysctl.h.
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