summaryrefslogtreecommitdiff
path: root/pkgtools/digest/files/sha1.h
diff options
context:
space:
mode:
authorminskim <minskim>2007-07-08 05:09:09 +0000
committerminskim <minskim>2007-07-08 05:09:09 +0000
commitc78c6f547f1093380dabe73e4ef5e623fbc9566d (patch)
treec6e5111aeef503d665f50c3848d585164e10c54f /pkgtools/digest/files/sha1.h
parentf67c519c399a12a4be8b7b443b405a809d5936fe (diff)
downloadpkgsrc-c78c6f547f1093380dabe73e4ef5e623fbc9566d.tar.gz
Include stdint.h to use integer types such as uint32_t.
Diffstat (limited to 'pkgtools/digest/files/sha1.h')
-rw-r--r--pkgtools/digest/files/sha1.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/digest/files/sha1.h b/pkgtools/digest/files/sha1.h
index 4f9fca9b069..e6a8bfbd1cb 100644
--- a/pkgtools/digest/files/sha1.h
+++ b/pkgtools/digest/files/sha1.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sha1.h,v 1.3 2007/07/03 18:54:05 joerg Exp $ */
+/* $NetBSD: sha1.h,v 1.4 2007/07/08 05:09:09 minskim Exp $ */
/*
* SHA-1 in C
@@ -9,6 +9,10 @@
#ifndef _SYS_SHA1_H_
#define _SYS_SHA1_H_
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
typedef struct {
uint32_t state[5];
uint32_t count[2];