X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX1/OP2x76STOi73B2bTzSu3uPI558QlYcs50ccFXAJ 8UVIX7KXOGM8i1 Message-ID: <510C5916.6030502@gmx.de> Date: Sat, 02 Feb 2013 01:08:54 +0100 From: Juan Manuel Guerrero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: stdint.h inclusion by inttypes.h Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Reply-To: djgpp-workers AT delorie DOT com While I was trying to port unrtf I noted that inttypes.h does not include stdint.h. Any objection if the patch below is committed? Regards, Juan M. Guerrero diff -aprNU5 djgpp.orig/include/inttypes.h djgpp/include/inttypes.h --- djgpp.orig/include/inttypes.h 2012-09-23 07:49:10 +0000 +++ djgpp/include/inttypes.h 2013-02-02 00:34:14 +0000 @@ -1,5 +1,6 @@ +/* Copyright (C) 2013 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */ #include #ifndef __dj_inttypes__h_ @@ -9,10 +10,12 @@ extern "C" { #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING +#include + #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ || !defined(__STRICT_ANSI__) || defined(__cplusplus) /* ANSI/ISO C99 says these should not be visible in C++ unless explicitly requested. */