Although including I get an error saying that struct sigaction is an incomplete type.
struct sigaction
I have no Idea what to do with it.>
I resolved this by changing the C standard that I was using with gcc.
I changed: gcc -std=c99 ...
gcc -std=c99 ...
to this: gcc -std=gnu99 ...
gcc -std=gnu99 ...