summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authorminskim <minskim>2005-03-24 15:37:40 +0000
committerminskim <minskim>2005-03-24 15:37:40 +0000
commit883bbd18bcfac2bf6514dfa174b701ef6e43b382 (patch)
treeeb457e1aab887819ca231d29dbb59c5410a676b0 /pkgtools/digest
parentef5c200c4d4c9885c1dfb09009d0fcd7652952ce (diff)
downloadpkgsrc-883bbd18bcfac2bf6514dfa174b701ef6e43b382.tar.gz
Include stdint.h because uint32_t is used. Makes the package build on
Linux again.
Diffstat (limited to 'pkgtools/digest')
-rw-r--r--pkgtools/digest/files/whirlpool.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgtools/digest/files/whirlpool.c b/pkgtools/digest/files/whirlpool.c
index 60abdf79a70..69aeab751a2 100644
--- a/pkgtools/digest/files/whirlpool.c
+++ b/pkgtools/digest/files/whirlpool.c
@@ -56,8 +56,15 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>