Added ioctl entry, std kernel declarations and cc args