Skip to content

Conversation

@BalkanMadman
Copy link

The clock_gettime() function is provided by time.h, but the check included sched.h. Additionally, the function expects two arguments, but none were given.

This commit fixes both issues, making the check actually work.

Fixes #1566.

The clock_gettime() function is provided by time.h, but the check
includes sched.h. Additionally, the function expects two arguments, but
none are given.

This commit fixes both issues, making the check actually work.

Signed-off-by: Zurab Kvachadze <[email protected]>
@BalkanMadman BalkanMadman force-pushed the fix_clock_gettime_config_check branch from 76c75c7 to a6c50b7 Compare March 13, 2025 20:42
@diogoazevedos
Copy link

@BalkanMadman thanks for fixing this! I've included ur fix at diogoazevedos/nginx-vod-module.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

clock_gettime(): not found during config due to including the wrong sched.h header instead of the correct time.h

2 participants