It can't find basic system headers. Either your include path is seriously messed up, or the headers are not installed.
You're missing your C library development headers. You should install a package that has them. These are necessary to install this module because it has to compile some non-perl C code and needs to know more about your system.
I can't tell what kind of operating system you're on, but it looks like linux. If it's debian, you should be able to use apt-get to install the 'libc6-dev' package. That will contain the headers you need to compile this module. On other types of linux there will be a similarly named package.
Awfully hard to read without line breaks, but it looks like you are missing sys/types.h
on your system. Do you have a full build environment installed (gcc, make, etc.)? What OS and distribution are you using?
In the future, you should bockquote output like this (select the text and click the quote button).