On a fresh install of Slackware 12, and the latest asterisk 1.2 I find I must change chan_phone.c from
#include <linux/version.h>
#include <linux/ixjuser.h>
to
#include <linux/version.h>
#include <linux/compiler.h> (have to add this line)
#include <linux/ixjuser.h>
in order for it to compile. It is easy enough to do, but can anyone tell me why this is needed?