Asterisk 1.4.22

Hello there,

I have successfully compiled the last 6 or so releases of asterisk on my server, but 1.4.22 gives me the following error:
[CC] chan_dahdi.c -> chan_dahdi.o
chan_dahdi.c: In function ‘get_alarms’:
chan_dahdi.c:3693: error: ‘struct zt_params’ has no member named 'chan_alarms’
make[1]: *** [chan_dahdi.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.4.22/channels’
make: *** [channels] Error 2

I am using gcc 4.1.2 20061115.

Best Regards,

Christian