diff -ur -- 0/speex/pcm_speex.c 1/speex/pcm_speex.c
--- 0/speex/pcm_speex.c	2015-02-26 12:38:07.000000000 +0000
+++ 1/speex/pcm_speex.c	2015-03-27 15:23:59.010481832 +0000
@@ -20,6 +20,7 @@
 
 #include <alsa/asoundlib.h>
 #include <alsa/pcm_external.h>
+#include <stdint.h>
 #include <speex/speex_preprocess.h>
 #include <speex/speex_echo.h>
 
@@ -100,6 +101,7 @@
 				speex_echo_capture(spx->echo_state, spx->buf,
 						   spx->outbuf);
 			if (spx->state)
+#include <stdint.h>
 				speex_preprocess_run(spx->state, databuf);
 			if (spx->echo_state)
 				speex_echo_playback(spx->echo_state, databuf);
@@ -135,6 +137,7 @@
 	memset(spx->outbuf, 0, spx->parms.frames * 2);
 
 	if (spx->state) {
+#include <stdint.h>
 		speex_preprocess_state_destroy(spx->state);
 		spx->state = NULL;
 	}
@@ -156,25 +159,33 @@
 	if (!spx->parms.denoise && !spx->parms.agc && !spx->parms.dereverb)
 		return 0;
 
+#include <stdint.h>
 	spx->state = speex_preprocess_state_init(spx->parms.frames,
 						 spx->ext.rate);
 	if (!spx->state)
 		return -EIO;
 	if (spx->echo_state)
+#include <stdint.h>
 		speex_preprocess_ctl(spx->state,
 				     SPEEX_PREPROCESS_SET_ECHO_STATE,
 				     spx->echo_state);
 
+#include <stdint.h>
 	speex_preprocess_ctl(spx->state, SPEEX_PREPROCESS_SET_DENOISE,
 			     &spx->parms.denoise);
+#include <stdint.h>
 	speex_preprocess_ctl(spx->state, SPEEX_PREPROCESS_SET_AGC,
 			     &spx->parms.agc);
+#include <stdint.h>
 	speex_preprocess_ctl(spx->state, SPEEX_PREPROCESS_SET_AGC_LEVEL,
 			     &spx->parms.agc_level);
+#include <stdint.h>
 	speex_preprocess_ctl(spx->state, SPEEX_PREPROCESS_SET_DEREVERB,
 			     &spx->parms.dereverb);
+#include <stdint.h>
 	speex_preprocess_ctl(spx->state, SPEEX_PREPROCESS_SET_DEREVERB_DECAY,
 			     &spx->parms.dereverb_decay);
+#include <stdint.h>
 	speex_preprocess_ctl(spx->state, SPEEX_PREPROCESS_SET_DEREVERB_LEVEL,
 			     &spx->parms.dereverb_level);
 	return 0;
@@ -186,6 +197,7 @@
 	free(spx->outbuf);
 	free(spx->buf);
 	if (spx->state)
+#include <stdint.h>
 		speex_preprocess_state_destroy(spx->state);
 	if (spx->echo_state)
 		speex_echo_state_destroy(spx->echo_state);	
