$OpenBSD: patch-pjmedia_src_pjmedia_tonegen_c,v 1.1 2007/11/06 02:50:28 deanna Exp $ --- pjmedia/src/pjmedia/tonegen.c.orig Sat Nov 3 20:54:49 2007 +++ pjmedia/src/pjmedia/tonegen.c Sat Nov 3 20:58:27 2007 @@ -16,6 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include #include #include #include @@ -44,7 +45,6 @@ * the normal sin() generator. * Speed = 40.6 cycles per sample. */ -# include struct gen { DATA a, s0, s1; @@ -99,7 +99,6 @@ #else # error "Should never get to this part" -# include /* * Should never really reach here, but anyway it's provided for reference. * This is the good old tone generator using sin().