Nmap Development mailing list archives

[BUG] nbase.h does not include sys/select.h


From: John Spencer <maillist-nmap () barfooze de>
Date: Sun, 09 Sep 2012 01:06:04 +0200


... thus:

g++ -c -I../liblinear -I/usr/include/lua -I../libdnet-stripped/include -I//include/luajit-2.0/ -I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-str
In file included from PacketElement.h:100:0,
from PacketElement.cc:97: ../nbase/nbase.h:469:20: error: 'fd_set' has not been declared

../nbase/nbase.h:469:37: error: 'fd_set' has not been declared

../nbase/nbase.h:469:54: error: 'fd_set' has not been declared


including <sys/select.h> fixes the issue.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: