Tiny patch for missing stdint.h

Simon Josefsson simon at josefsson.org
Thu Jan 15 18:28:30 CET 2009


Dagobert Michelsen <dam at opencsw.org> 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





More information about the Gnutls-devel mailing list