Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbreak build on non-Linux #8

Closed
wants to merge 1 commit into from
Closed

Unbreak build on non-Linux #8

wants to merge 1 commit into from

Conversation

jbeich
Copy link

@jbeich jbeich commented Jun 29, 2022

Regressed by f9dab9d. Affects FreeBSD package (build recipe is also used on DragonFly). major + minor are in <sys/types.h> on BSDs, often implicitly included by other headers.

See also https://sourceware.org/bugzilla/show_bug.cgi?id=19239

$ cc --version
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
Target: x86_64-unknown-freebsd14.0
Thread model: posix
InstalledDir: /usr/bin

$ meson setup _build
$ meson compile -C _build
[...]
../showmethekey-cli/main.c:14:10: fatal error: 'sys/sysmacros.h' file not found
#include <sys/sysmacros.h>
         ^~~~~~~~~~~~~~~~~

showmethekey-cli/main.c:14:10: fatal error: 'sys/sysmacros.h' file not found
 #include <sys/sysmacros.h>
          ^~~~~~~~~~~~~~~~~
@AlynxZhou
Copy link
Owner

I added this header but finally never use it, just forget to remove that one.

I'll remove it in a new commit, thanks!

@AlynxZhou
Copy link
Owner

799735e

@AlynxZhou AlynxZhou closed this Jun 30, 2022
@AlynxZhou
Copy link
Owner

Check the latest release.

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.

None yet

2 participants