pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/digest/files Include stdint.h because uint32_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90b3f6f4b589
branches:  trunk
changeset: 491467:90b3f6f4b589
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Mar 24 15:37:40 2005 +0000

description:
Include stdint.h because uint32_t is used.  Makes the package build on
Linux again.

diffstat:

 pkgtools/digest/files/whirlpool.c |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 4ff29381f300 -r 90b3f6f4b589 pkgtools/digest/files/whirlpool.c
--- a/pkgtools/digest/files/whirlpool.c Thu Mar 24 15:36:53 2005 +0000
+++ b/pkgtools/digest/files/whirlpool.c Thu Mar 24 15:37:40 2005 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index