Hello I'm new to the forum and I been having trouble with libcap. I tried to install a kali tool called penetrator-wps, when I tried to install it gave me this message

penetrator.c:16:18: fatal error: pcap.h: No such file or directory
#include <pcap.h>
^
compilation terminated.
mv: cannot stat ‘penetrator’: No such file or directory

It asks for the pcap.h, I tried anything to fix it even installing and updating libcap with the command apt-get install libcap-dev libssl-dev but it doesn't works. If anybody knows how to solve it please let me know I would really apreciate it.