changeset 4449:6fd556af42a4 draft

Linux: Fix compile
author Roy Marples <roy@marples.name>
date Wed, 17 Apr 2019 22:18:39 +0000
parents a097141ec9c2
children a4f492ca06a6
files compat/crypt/sha256.c src/common.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/compat/crypt/sha256.c	Wed Apr 17 22:59:47 2019 +0100
+++ b/compat/crypt/sha256.c	Wed Apr 17 22:18:39 2019 +0000
@@ -37,7 +37,7 @@
 #  endif
 #endif
 
-#include "common.h"
+#include "config.h"
 #include "sha256.h"
 
 #if BYTE_ORDER == BIG_ENDIAN
--- a/src/common.h	Wed Apr 17 22:59:47 2019 +0100
+++ b/src/common.h	Wed Apr 17 22:18:39 2019 +0000
@@ -30,6 +30,7 @@
 
 #include <sys/param.h>
 #include <sys/time.h>
+#include <stdint.h>
 #include <stdio.h>
 
 #ifndef HOSTNAME_MAX_LEN