diff --git a/src/libespeak-ng/wavegen.c b/src/libespeak-ng/wavegen.c index c54401db..b911af0d 100644 --- a/src/libespeak-ng/wavegen.c +++ b/src/libespeak-ng/wavegen.c @@ -1401,9 +1401,11 @@ static int SpeedUp(short *outbuf, int length_in, int length_out, int end_of_text int WavegenFill(void) { int finished; +#if HAVE_SONIC_H unsigned char *p_start; p_start = out_ptr; +#endif finished = WavegenFill2();