I am trying to compile a small C program
on Slackware 13.37 that uses libpcap libraries. When I do
gcc app.c -lpcap
it throws error:
/usr/stuff/app/libpcap/pcap.h:46:25: fatal error: sys/types.h: No such file or directory
If I correctly understand, this has something to do with not having
installed. If so, how can I install kernel-headers on my system? Or am I misunderstanding the problem?
Also, the directory where /sys/types.h is supposed to be located is completely empty - /usr/include/