# HG changeset patch # User Bruno Haible # Date 1151095959 0 # Node ID 45234a95d079f51945b94a2dc6694ace26cf3f2e # Parent ba1b5722df42d54254d757a1b0b09b08c83c0acc stdint module: treat IRIX like OpenBSD. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-06-23 Bruno Haible + + * stdlib_.h: Treat IRIX like OpenBSD. + 2006-06-23 Bruno Haible * stdlib_.h (UINT8_C, UINT16_C, UINT32_C): Define according to diff --git a/lib/stdint_.h b/lib/stdint_.h --- a/lib/stdint_.h +++ b/lib/stdint_.h @@ -33,11 +33,13 @@ #if defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4) # include #endif -#if defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__sgi) /* In OpenBSD 3.8, includes , which defines int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__. includes and also defines intptr_t and uintptr_t. */ + /* IRIX 6.5 has , and defines some of these + types as well. */ # include # if @HAVE_INTTYPES_H@ # include @FULL_PATH_INTTYPES_H@ diff --git a/m4/ChangeLog b/m4/ChangeLog --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-06-23 Bruno Haible + + * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD. + 2006-06-22 Simon Josefsson * sockpfaf.m4: Include winsock2.h too, to make it work under diff --git a/m4/stdint.m4 b/m4/stdint.m4 --- a/m4/stdint.m4 +++ b/m4/stdint.m4 @@ -1,4 +1,4 @@ -# stdint.m4 serial 7 +# stdint.m4 serial 8 dnl Copyright (C) 2001-2002, 2004-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -90,7 +90,7 @@ #if defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4) # include #endif -#if defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__sgi) # include # if HAVE_INTTYPES_H # include FULL_PATH_INTTYPES_H