From 8f5ed637f91be43391d1b48a0b0849819ff68954 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 20 Nov 2012 18:59:41 +0000 Subject: [PATCH] Include in engine_poll.c for EINTR. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- nsock/src/engine_poll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsock/src/engine_poll.c b/nsock/src/engine_poll.c index 0915aac16..e4f42a94b 100644 --- a/nsock/src/engine_poll.c +++ b/nsock/src/engine_poll.c @@ -59,6 +59,8 @@ #define _GNU_SOURCE #endif +#include + #ifdef HAVE_CONFIG_H #include "nsock_config.h" #elif WIN32