m4_include(hmacros.i4)
-#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <unistd.h>
+#include <fcntl.h>
+
#include "harness.h"
#include "internal.h"
{ "ENOSPC", ENOSPC },
{ "EWOULDBLOCK", EWOULDBLOCK },
{ "EHOSTUNREACH", EHOSTUNREACH },
+ { "ECONNRESET", ECONNRESET },
{ "ECONNREFUSED", ECONNREFUSED },
{ "EPIPE", EPIPE },
{ 0, 0 }