1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 13:49:03 +00:00

Include <errno.h> in engine_poll.c for EINTR.

I'm not sure why I wasn't seeing this error before:
engine_poll.c: In function ‘poll_loop’:
engine_poll.c:352:46: error: ‘EINTR’ undeclared (first use in this function)
engine_poll.c:352:46: note: each undeclared identifier is reported only once for each function it appears in
This commit is contained in:
david
2012-11-20 18:59:41 +00:00
parent 6788abdee2
commit 8f5ed637f9

View File

@@ -59,6 +59,8 @@
#define _GNU_SOURCE
#endif
#include <errno.h>
#ifdef HAVE_CONFIG_H
#include "nsock_config.h"
#elif WIN32