Skip to content

Commit 022b959

Browse files
committed
Merge #77: Add missing include
08443c4 Add missing include (Cory Fields) Pull request description: stdint is needed for uint64_t and friends. Discovered when testing pre-compiled headers, which disturbs usual include ordering. The problem can be seen with the simple testcase: src/bad.cpp: ```c++ #include "int_utils.h" int main(){} ``` ```g++ bad.cpp -o bad.o``` ACKs for top commit: sipa: ACK 08443c4 fanquake: ACK 08443c4 Tree-SHA512: ffa134738dfb43207c8487d3e3f1a76fedce98f4087b3d3b636274283b65b9a037ce0ce5ce94133131bb98416790ff11c981500a3b717f6b2201e773ead5d583
2 parents a571ba2 + 08443c4 commit 022b959

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/int_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#ifndef _MINISKETCH_INT_UTILS_H_
88
#define _MINISKETCH_INT_UTILS_H_
99

10+
#include <stdint.h>
1011
#include <stdlib.h>
1112

1213
#include <limits>

0 commit comments

Comments
 (0)