This is the 2.0.0-beta, lots and lots and lots of changes
Have a look at http://xmlsoft.org/upgrade.html

Daniel
diff --git a/nanohttp.c b/nanohttp.c
index b8cb24e..438257b 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -753,7 +753,7 @@
     }
     ctxt->fd = ret;
     if (proxy) {
-#ifdef have_snprintf
+#ifdef HAVE_SNPRINTF
 	if (ctxt->port != 80)
 	    snprintf(buf, sizeof(buf),
 		     "GET http://%s:%d%s HTTP/1.0\r\nHost: %s\r\n\r\n",