Frank Liu <[EMAIL PROTECTED]> writes:

> This is not runtime, it is compile time.
> (even if it is runtime, how can uname() tell if you are running
>  a kernel provided by redhat or downloaded from kernel.org?).
> 
> Anyway, the program calls function
> kill_fasync()
> under Redhat's kernel, it requires three arguments
> (see /usr/src/linux/include/linux/fs.h)
> under normal kernel, it requires two arguments.
> 
> any hints what to do in the code so that it can compile under both
> kernels?

try play with /boot/kernel.h

-- 
MandrakeSoft Inc                     http://www.chmouel.org
San-Francisco, CA USA                             --Chmouel



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to