summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-03-24 15:37:40 +0000
committerminskim <minskim@pkgsrc.org>2005-03-24 15:37:40 +0000
commitcff4a0fe99c9a3139e0e9b09e65019ffee948bc6 (patch)
treeeb457e1aab887819ca231d29dbb59c5410a676b0 /pkgtools
parent628e5617eec74006801ad00eef7c1dbe4a870c0b (diff)
downloadpkgsrc-cff4a0fe99c9a3139e0e9b09e65019ffee948bc6.tar.gz
Include stdint.h because uint32_t is used. Makes the package build on
Linux again.
Diffstat (limited to 'pkgtools')
-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>