From: Amos Jeffries Date: Sun, 9 Feb 2014 08:55:01 +0000 (-0700) Subject: Fix cstdio compile errors X-Git-Tag: SQUID_3_5_0_1~381 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef5831aaa7ae91db890887d3d818c3f45bae1dcb;p=thirdparty%2Fsquid.git Fix cstdio compile errors --- diff --git a/compat/stdio.h b/compat/stdio.h index 9db46782c4..a474d21f55 100644 --- a/compat/stdio.h +++ b/compat/stdio.h @@ -46,8 +46,8 @@ inline FILE * tmpfile(void) { return tmpfile64(); } #endif /* __USE_FILE_OFFSET64 && !__REDIRECT */ // Finally import the stuff we actually use -#if HAVE_CSTDIO -#include +#if HAVE_CSTDIO && defined(__cplusplus) +#include #endif #ifndef MAXPATHLEN