]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
siphash.h: include stdint.
authorNick Mathewson <nickm@torproject.org>
Mon, 16 Dec 2019 18:06:00 +0000 (13:06 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 9 Jan 2020 12:30:35 +0000 (07:30 -0500)
Doing this gives us a valid uint64_t type, freeing us from
dependencies on include order.

src/ext/siphash.h

index 730e49937d0f78e08345687d445f181e4fb2db03..0207a959ff30f748f2f0b5d56f86266c5003732e 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef SIPHASH_H
 #define SIPHASH_H
 
+#include <stdint.h>
+
 struct sipkey {
   uint64_t k0;
   uint64_t k1;