summaryrefslogtreecommitdiffstats
path: root/sys/kern/md5c.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-10-22 16:27:47 +0000
committerphk <phk@FreeBSD.org>1996-10-22 16:27:47 +0000
commit2916d56c9d8a14df739e997d1ac2acb0d447e4de (patch)
treeceee8ef517bcd35f7b6a951993b111b7d4fcceab /sys/kern/md5c.c
parent2d7b0aca1c8b4a9fb6358ab448d7b578746afdad (diff)
downloadFreeBSD-src-2916d56c9d8a14df739e997d1ac2acb0d447e4de.zip
FreeBSD-src-2916d56c9d8a14df739e997d1ac2acb0d447e4de.tar.gz
close bin/1648 libmd not 64bit safe.
if something fails to compile now, you need to add #include <sys/types.h> Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
Diffstat (limited to 'sys/kern/md5c.c')
-rw-r--r--sys/kern/md5c.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c
index 5c35b5b..ed4a7b6 100644
--- a/sys/kern/md5c.c
+++ b/sys/kern/md5c.c
@@ -24,12 +24,13 @@ These notices must be retained in any copies of any part of this
documentation and/or software.
*/
-#include "md5.h"
+#include <sys/types.h>
#include <string.h>
+#include "md5.h"
typedef unsigned char *POINTER;
-typedef unsigned short int UINT2;
-typedef unsigned long int UINT4;
+typedef u_int16_t UINT2;
+typedef u_int32_t UINT4;
#define PROTO_LIST(list) list
OpenPOWER on IntegriCloud