How to include a generic library when calling the headers

You have to install the related development packages first by:

sudo apt-get install linux-libc-dev linux-headers-generic build-essential

Note: you can always find related packages with header file on packages.ubuntu.com.