diff options
author | Dimitri Staessens <[email protected]> | 2018-06-13 13:18:10 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-06-13 13:39:55 +0200 |
commit | 47c922f1360990f2da8363aafa0798551a2128ef (patch) | |
tree | 8009e3a2bc692ae279bdc140a931b4baae927a25 /src/ipcpd/normal/dht.c | |
parent | 39e0358161212c5d662208360c1fdcb68ee6b64a (diff) | |
download | ouroboros-47c922f1360990f2da8363aafa0798551a2128ef.tar.gz ouroboros-47c922f1360990f2da8363aafa0798551a2128ef.zip |
lib: Use macros for all time utility functions0.11.9
This replaces the time utility functions with macros. This avoids
using library functions in the tools and also slightly speeds up the
implementation.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/normal/dht.c')
-rw-r--r-- | src/ipcpd/normal/dht.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c index 069b89d5..a6f1928b 100644 --- a/src/ipcpd/normal/dht.c +++ b/src/ipcpd/normal/dht.c @@ -48,6 +48,7 @@ #include <string.h> #include <assert.h> #include <inttypes.h> +#include <limits.h> #include "kademlia.pb-c.h" typedef KadMsg kad_msg_t; |