# HG changeset patch # User pl # Date 1010322411 0 # Node ID 92c59012249dea1107dd586ab34bb82fb4306154 # Parent 6ce744b637adf1dcf3231ed1f893a45148bf0b36 stdint.h replaced by inttypes.h (used more frequently in the sources) diff -r 6ce744b637ad -r 92c59012249d configure --- a/configure Sun Jan 06 10:58:04 2002 +0000 +++ b/configure Sun Jan 06 13:06:51 2002 +0000 @@ -1113,20 +1113,20 @@ _streaming=no fi - -echocheck "stdint.h" +echocheck "inttypes.h (required)" cat > $TMPC << EOF -#include +#include int main(void) { return 0; } EOF -_stdint=no -cc_check && _stdint=yes -if test "$_stdint" = yes ; then - _def_stdint='#define HAVE_STDINT_H 1' +_inttypes=no +cc_check && _inttypes=yes +if test "$_inttypes" = yes ; then + # nothing to do + : else - _def_stdint='#undef HAVE_STDINT_H' + die "cannot find header inttypes.h (see in DOC/faq.html)" fi -echores "$_stdint" +echores "$_inttypes" echocheck "malloc.h" @@ -2895,9 +2895,6 @@ /* Define this if your system has the header file for the OSS sound interface */ $_def_sys_soundcard -/* Define this if your system has the "stdint.h" header file */ -$_def_stdint - /* Define this if your system has the "malloc.h" header file */ $_def_malloc diff -r 6ce744b637ad -r 92c59012249d divx4_vbr.c --- a/divx4_vbr.c Sun Jan 06 10:58:04 2002 +0000 +++ b/divx4_vbr.c Sun Jan 06 13:06:51 2002 +0000 @@ -42,13 +42,7 @@ #include #include #include - -#include "config.h" - -#ifdef HAVE_STDINT_H -#include -#endif - +#include #include "divx4_vbr.h" diff -r 6ce744b637ad -r 92c59012249d vidix/drivers/radeon_vid.c --- a/vidix/drivers/radeon_vid.c Sun Jan 06 10:58:04 2002 +0000 +++ b/vidix/drivers/radeon_vid.c Sun Jan 06 13:06:51 2002 +0000 @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include "../vidix.h" #include "../fourcc.h" #include "../../libdha/libdha.h"