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

Define ETIME for systems without that constant #441

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

dereckson
Copy link
Contributor

@dereckson dereckson commented Jan 15, 2024

ETIME alternative implementation as ETIMEDOUT is already available for the worker component, but not for the naemon component.

This fixes the following compilation error on systems without ETIME:

src/naemon/workers.c:517:27: error: use of undeclared identifier 'ETIME'
                if (wpres.error_code == ETIME) {
                                        ^
1 error generated.

This has been noticed on FreeBSD.

ETIME alternative implementation as ETIMEDOUT is already available
for the worker, but not for the naemon component.

This fixes the following compilation error on systems without ETIME:

src/naemon/workers.c:517:27: error: use of undeclared identifier 'ETIME'
                if (wpres.error_code == ETIME) {
                                        ^
1 error generated.

Signed-off-by: Sébastien Santoro <dereckson@espace-win.org>
@sni sni merged commit d8e1f42 into naemon:master Jan 15, 2024
25 checks passed
@sni
Copy link
Contributor

sni commented Jan 15, 2024

thanks for your contribution

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