protected an use of EAGAIN, Brian Stafford Daniel

* nanohttp.c: protected an use of EAGAIN, Brian Stafford
Daniel
diff --git a/nanohttp.c b/nanohttp.c
index 1b3566b..8fade16 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -415,7 +415,9 @@
             if (nsent>0)
                 total_sent += nsent;
 	    else if ( ( nsent == -1 ) && 
+#if defined(EAGAIN) && EAGAIN != EWOULDBLOCK
 	    	      ( socket_errno( ) != EAGAIN ) &&
+#endif
 		        ( socket_errno( ) != EWOULDBLOCK ) ) {
 	        xmlGenericError( xmlGenericErrorContext,
 				"xmlNanoHTTPSend error:  %s",