conditionalize #include of stdio.h
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 17 May 2002 06:19:28 +0000 (06:19 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 17 May 2002 06:19:28 +0000 (06:19 +0000)
src/libFLAC/lpc.c

index 46c3034..c0165c3 100644 (file)
  */
 
 #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?) */