Skip to content

Commit

Permalink
Merge bitcoin-core/secp256k1#1285: bench: Make sys/time.h a system in…
Browse files Browse the repository at this point in the history
…clude

68b16a1 bench: Make sys/time.h a system include (Tim Ruffing)

Pull request description:

  just because it is minimally more correct

ACKs for top commit:
  hebasto:
    ACK 68b16a1, I've skimmed through the whole codebase and did not find any more similar cases.

Tree-SHA512: 0a929b36202100abf0d14e9328a2dc2b4c9db5532f95514315cb04dd0a970dbbb1dc02c6275be0ec109dc88f6090f6ce48a65003c852fd4dc750decf07e563c4
  • Loading branch information
real-or-random committed Apr 21, 2023
2 parents a6f4bcf + 68b16a1 commit 5ec1333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bench.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#if (defined(_MSC_VER) && _MSC_VER >= 1900)
# include <time.h>
#else
# include "sys/time.h"
# include <sys/time.h>
#endif

static int64_t gettime_i64(void) {
Expand Down

0 comments on commit 5ec1333

Please sign in to comment.