https://bugs.gentoo.org/show_bug.cgi?id=252378 --- spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:46:26.000000000 +0100 +++ spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:53:20.000000000 +0100 @@ -25,8 +25,10 @@ #include #include +#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES /* we need g726_state_s definition */ #include +#define _PLC_H_ /* asterisk/plc.h conflicts with spandsp/plc.h */ #include "asterisk.h" ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.1 $")