Skip to content

Include <err.h> if available#151

Closed
fweimer-rh wants to merge 2 commits intosippy:masterfrom
fweimer-rh:c99
Closed

Include <err.h> if available#151
fweimer-rh wants to merge 2 commits intosippy:masterfrom
fweimer-rh:c99

Conversation

@fweimer-rh
Copy link

This avoids implicit declarations of warn and warnx and compilation failures with Clang 16 and GCC 14.

Fixes commit d89d9b1 ("Check return value of the read("/dev/urandom"). Just in case.") and commit 44fea8a ("Also check if we got the amount of bytes that we expected.").

Related to:

fweimer-rh and others added 2 commits December 18, 2023 10:38
This avoids implicit declarations of warn and warnx and compilation
failures with Clang 16 and GCC 14.

Fixes commit d89d9b1 ("Check return value of the
read("/dev/urandom"). Just in case.") and commit 44fea8a
("Also check if we got the amount of bytes that we expected.").
@sobomax sobomax closed this Mar 12, 2026
@fweimer-rh
Copy link
Author

Fixed in 8c1c7ea by including "config.h" a second time.

@fweimer-rh fweimer-rh deleted the c99 branch March 12, 2026 15:08
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.

2 participants