conditionalize #include of stdio.h
diff --git a/src/libFLAC/lpc.c b/src/libFLAC/lpc.c
index 46c3034..c0165c3 100644
--- a/src/libFLAC/lpc.c
+++ b/src/libFLAC/lpc.c
@@ -18,10 +18,12 @@
  */
 
 #include <math.h>
-#include <stdio.h>
 #include "FLAC/assert.h"
 #include "FLAC/format.h"
 #include "private/lpc.h"
+#if defined DEBUG || defined FLAC__OVERFLOW_DETECT || defined FLAC__OVERFLOW_DETECT_VERBOSE
+#include <stdio.h>
+#endif
 
 #ifndef M_LN2
 /* math.h in VC++ doesn't seem to have this (how Microsoft is that?) */