pkgsrc/security/libtasn1/patches/patch-aa
shannonjr bc762658a7 Add patch to conditionally include <stdint.h> based on the symbol
HAVE_STDINT_H generated by configure. This is required for
compilation on Solaris 9.
2008-04-30 11:39:24 +00:00

15 lines
319 B
Text

$NetBSD: patch-aa,v 1.1 2008/04/30 11:39:24 shannonjr Exp $
--- ./lib/int.h.orig 2008-04-30 05:06:07.085583902 -0600
+++ ./lib/int.h
@@ -31,7 +31,10 @@
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
+
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>