Skip to content

config: make clock_gettime() check work#1567

Open
BalkanMadman wants to merge 1 commit intokaltura:masterfrom
BalkanMadman:fix_clock_gettime_config_check
Open

config: make clock_gettime() check work#1567
BalkanMadman wants to merge 1 commit intokaltura:masterfrom
BalkanMadman:fix_clock_gettime_config_check

Conversation

@BalkanMadman
Copy link
Copy Markdown

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 <zurabid2016@gmail.com>
@BalkanMadman BalkanMadman force-pushed the fix_clock_gettime_config_check branch from 76c75c7 to a6c50b7 Compare March 13, 2025 20:42
@dio-az
Copy link
Copy Markdown

dio-az commented Apr 29, 2025

@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