freebsd-ports/www/squid33/files/patch-compat__stdio.h
Florian Smeets bf15b4d585 - fix build on FreeBSD >= 10.0 [1]
- update to 3.3.10

PR:		ports/183352
Submitted by:	dim [1]
Approved by:	maintainer timeout
2013-11-11 20:29:45 +00:00

11 lines
324 B
C

--- compat/stdio.h.orig 2013-05-20 13:48:55.000000000 +0200
+++ compat/stdio.h 2013-07-15 22:34:49.000000000 +0200
@@ -46,7 +46,7 @@
#endif /* __USE_FILE_OFFSET64 && !__REDIRECT */
// Finally import the <cstdio> stuff we actually use
-#if HAVE_CSTDIO
+#if defined(__cplusplus) && HAVE_CSTDIO
#include<cstdio>
#endif