Skip to content

Commit

Permalink
Explicitly include <cstdint> to fix build on latest gcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Amadori committed Sep 7, 2024
1 parent c8d48ce commit e5d779a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define TIMERH

#include <time.h>
#include <cstdint>
#include <string>
#ifdef WIN64
#include <windows.h>
Expand Down
1 change: 1 addition & 0 deletions hash/sha256.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef SHA256_H
#define SHA256_H
#include <string>
#include <cstdint>

void sha256(uint8_t *input,int length, uint8_t *digest);
void sha256_33(uint8_t *input, uint8_t *digest);
Expand Down
1 change: 1 addition & 0 deletions hash/sha512.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef SHA512_H
#define SHA512_H
#include <string>
#include <cstdint>

void sha512(unsigned char *input, int length, unsigned char *digest);
void pbkdf2_hmac_sha512(uint8_t *out, size_t outlen,const uint8_t *passwd, size_t passlen,const uint8_t *salt, size_t saltlen,uint64_t iter);
Expand Down

0 comments on commit e5d779a

Please sign in to comment.