Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
1.0.10
-
None
-
None
-
FreeBSD 13.0 amd64
-
3.8.12
Description
Compilation fails with the following:
mariadb/mariadb_connection.c:655:27: error: use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
clock_gettime(CLOCK_MONOTONIC_RAW, &self->last_used);
A google search found the same error in a similar environment in a completely different project:
https://github.com/basil00/reqrypt/issues/20
The solution there was to add the following:
#ifndef CLOCK_MONOTONIC_RAW
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
#endif