diff options
-rw-r--r-- | loader2/hardware.c | 1 | ||||
-rw-r--r-- | loader2/loader.c | 1 | ||||
-rw-r--r-- | loader2/md5.c | 2 | ||||
-rw-r--r-- | loader2/md5.h | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/loader2/hardware.c b/loader2/hardware.c index 5658d03f6..8fff06b1f 100644 --- a/loader2/hardware.c +++ b/loader2/hardware.c @@ -21,6 +21,7 @@ #include <kudzu/kudzu.h> #include <popt.h> #include <string.h> +#include <strings.h> #include <stdlib.h> #include <unistd.h> #include <ctype.h> diff --git a/loader2/loader.c b/loader2/loader.c index 965506d0b..6f952679b 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -31,6 +31,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <strings.h> #include <syslog.h> #include <unistd.h> diff --git a/loader2/md5.c b/loader2/md5.c index 22f59a04e..f6187eceb 100644 --- a/loader2/md5.c +++ b/loader2/md5.c @@ -25,7 +25,7 @@ #include <endian.h> #include "md5.h" -void MD5_Transform(uint32 *buf, uint32 const *in); +void MD5_Transform(uint32_t *buf, uint32_t const *in); #define IS_BIG_ENDIAN() (__BYTE_ORDER == __BIG_ENDIAN) #define IS_LITTLE_ENDIAN() (__BYTE_ORDER == __LITTLE_ENDIAN) diff --git a/loader2/md5.h b/loader2/md5.h index fb6bf20a9..1d76babc3 100644 --- a/loader2/md5.h +++ b/loader2/md5.h @@ -3,7 +3,7 @@ #include <sys/types.h> -typedef u_int32_t uint32; +typedef uint32_t uint32; struct MD5Context { uint32 buf[4]; |