summaryrefslogtreecommitdiff
path: root/pkgtools/digest/files/sha1.h
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-02 13:54:34 +0000
committerjoerg <joerg>2007-08-02 13:54:34 +0000
commit4bff00aff3ede9d0f0c4d970454142d392932b62 (patch)
treec998d75bce7f0369dd99618d0cba8620a1294477 /pkgtools/digest/files/sha1.h
parentd4419b4416abb5531fb69c72dcdca6fa78ebc44c (diff)
downloadpkgsrc-4bff00aff3ede9d0f0c4d970454142d392932b62.tar.gz
Include inttypes.h if it exists. Fixes issues on OSF/1 as reported
by tnn@.
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 e6a8bfbd1cb..0921e1ad3a5 100644
--- a/pkgtools/digest/files/sha1.h
+++ b/pkgtools/digest/files/sha1.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sha1.h,v 1.4 2007/07/08 05:09:09 minskim Exp $ */
+/* $NetBSD: sha1.h,v 1.5 2007/08/02 13:54:34 joerg Exp $ */
/*
* SHA-1 in C
@@ -9,6 +9,10 @@
#ifndef _SYS_SHA1_H_
#define _SYS_SHA1_H_
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif