chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@ -4,9 +4,12 @@
[adns]
/
regress
/
hcommon.c
diff --git
a/regress/hcommon.c
b/regress/hcommon.c
index cd3530914230cf182740d375cadf907ef4db8532..4a6293ae4fad5a14ba639375bf82e2728c28c740 100644
(file)
--- a/
regress/hcommon.c
+++ b/
regress/hcommon.c
@@
-1,6
+1,7
@@
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
+#include <stdarg.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.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 },
{ "ECONNRESET", ECONNRESET },
{ "ECONNREFUSED", ECONNREFUSED },
{ "EPIPE", EPIPE },
+ { "ENOTSOCK", ENOTSOCK },
{ 0, 0 }
};
static vbuf vbw;
{ 0, 0 }
};
static vbuf vbw;