diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-06-13 13:18:10 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-06-13 13:39:55 +0200 |
commit | 47c922f1360990f2da8363aafa0798551a2128ef (patch) | |
tree | 8009e3a2bc692ae279bdc140a931b4baae927a25 /src/ipcpd/normal/dir.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 <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/normal/dir.c')
-rw-r--r-- | src/ipcpd/normal/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/normal/dir.c b/src/ipcpd/normal/dir.c index 1c883974..345d220d 100644 --- a/src/ipcpd/normal/dir.c +++ b/src/ipcpd/normal/dir.c @@ -37,6 +37,7 @@ #include <string.h> #include <assert.h> #include <inttypes.h> +#include <limits.h> #define KAD_B (hash_len(ipcpi.dir_hash_algo) * CHAR_BIT) |