X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fdvi%2Fmdvi-lib%2Fprivate.h;h=5995f492f065703afe6d67c55494b5d64ca5f2d3;hb=1ff4db77238ee4f3b89c5cd7b94e3178e11fb543;hp=c547cd2d639e3955bea015918962021d5f4a7da7;hpb=9791c0d36123beb98a84974bf0f5c57e5ac0bbd1;p=evince.git diff --git a/backend/dvi/mdvi-lib/private.h b/backend/dvi/mdvi-lib/private.h index c547cd2d..5995f492 100644 --- a/backend/dvi/mdvi-lib/private.h +++ b/backend/dvi/mdvi-lib/private.h @@ -19,6 +19,19 @@ #define _MDVI_PRIVATE_H 1 #define HAVE_PROTOTYPES 1 + +#if STDC_HEADERS +# /* kpathsea's headers (wrongly!) redefine strchr() and strrchr() to +# non ANSI C functions if HAVE_STRCHR and HAVE_STRRCHR are not defined. +# */ +# ifndef HAVE_STRCHR +# define HAVE_STRCHR +# endif +# ifndef HAVE_STRRCHR +# define HAVE_STRRCHR +# endif +#endif + #include #include #include