dereferencing pointer to incomplete type
I m modifying the kernel's structure task_struct to include a socket structure pointer in it and also the socket structure to include fd as integer. I m referring to the task_struct structure as:
I have declared current as
extern struct task_struct *current
and also included "/usr/src/linux-220.127.116.11/arch/x86/include/asm/current.h"
But during compilation i m getting error as:
error: dereferencing pointer to incomplete type
Please help me out...