I have installed the libnet from the port(/usr/ports/net/libnet)
when I compiled the t.c, I got an error.
when I compiled the t.c, I got an error.
Code:
---- t.c -----
#include <libnet.h>
.....
--------------
gcc t.c -o -lnet
====error====
t.c:2:20: error: libnet.h: No such file or directory