[tor-commits] [tor/master] siphash.h: include stdint.

nickm at torproject.org nickm at torproject.org
Thu Jan 9 12:32:53 UTC 2020


commit c4ac5adc4add3645e65fdaebbb3cf5a938137ebe
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Dec 16 13:06:00 2019 -0500

    siphash.h: include stdint.
    
    Doing this gives us a valid uint64_t type, freeing us from
    dependencies on include order.
---
 src/ext/siphash.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ext/siphash.h b/src/ext/siphash.h
index 730e49937..0207a959f 100644
--- a/src/ext/siphash.h
+++ b/src/ext/siphash.h
@@ -1,6 +1,8 @@
 #ifndef SIPHASH_H
 #define SIPHASH_H
 
+#include <stdint.h>
+
 struct sipkey {
   uint64_t k0;
   uint64_t k1;





More information about the tor-commits mailing list