you have to replace #include <asm/ioctl32.h> by #include <linux/ioctl32.h> in firegl_public.c and recompile the stuff.
I forgott: this works on x86 machines, I don't really know if it's the same on amd64. chris.