chiark / gitweb /
+ * Fix error in prototype in definition of adns__parse_domain.
[adns.git] / regress / hcommon.c
index cd3530914230cf182740d375cadf907ef4db8532..4a6293ae4fad5a14ba639375bf82e2728c28c740 100644 (file)
@@ -1,6 +1,7 @@
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
+#include <stdarg.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -28,6 +29,7 @@ const struct Terrno Terrnos[]= {
   { "ECONNRESET",                ECONNRESET                   },
   { "ECONNREFUSED",              ECONNREFUSED                 },
   { "EPIPE",                     EPIPE                        },
+  { "ENOTSOCK",                  ENOTSOCK                     },
   {  0,                          0                            }
 };
 static vbuf vbw;