phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.
Other
68 stars 80 forks source link

pts/leveldb-1.0.3: Fix build error #281

Closed dbernhard-0x7CD closed 1 year ago

dbernhard-0x7CD commented 1 year ago

When compiling with gcc 13.1.1 I get the following error:

/home/REDACTED/.phoronix-test-suite/installed-tests/pts/leveldb-1.0.2/leveldb-1.22/doc/bench/db_bench_sqlite3.cc:207:18: error: ‘time’ was not declared in this scope
 12   207 |     time_t now = time(nullptr);
 13       |                  ^~~~

This is due to a missing include of ctime.