On Sat, Jan 02, 2010 at 09:47:19AM +0300, anonymous wrote:
> Ok, code is here: http://bitbucket.org/noname/netscan/

Nice, but there is no license on the source code files.

Here is a patch to let it build on OpenBSD:

--- parse.c.orig        Sat Jan  2 12:54:18 2010
+++ parse.c     Sat Jan  2 12:54:01 2010
@@ -1,3 +1,5 @@
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 
 #include <sys/queue.h>
@@ -5,6 +7,7 @@
 #include <ctype.h>
 #include <err.h>
 #include <errno.h>
+#include <pthread.h>
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>

Reply via email to