[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tiny patch for missing stdint.h
From: |
Simon Josefsson |
Subject: |
Re: Tiny patch for missing stdint.h |
Date: |
Thu, 15 Jan 2009 18:28:30 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
Dagobert Michelsen <address@hidden> writes:
> Hi,
>
> I am compiling libtasn1 1.7 for Solaris 8 and found that a tiny
> patch is needed to prevent including the missing (and correctly
> my configure detected) stdint.h:
Configure should make sure a stdint.h is generated in gl/. Isn't this
the case for you?
/Simon
> diff -Naur libtasn1-1.7.orig/lib/int.h libtasn1-1.7.patched/lib/int.h
> --- libtasn1-1.7.orig/lib/int.h 2008-11-17 11:06:37.000000000 +0100
> +++ libtasn1-1.7.patched/lib/int.h 2009-01-15 16:58:59.147771102
> +0100
> @@ -31,7 +31,9 @@
> #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>
>
>
> Please include the patch at your convenience.
>
>
> Best regards
>
> -- Dago