chiark / gitweb /
Add test for TCP responses which end up in several packets.
[adns.git] / regress / harness.h.m4
index b9fddb37421518b23f19c438ed5d4e01b9e45441..a2e278847cff822e28c6efb61ca9ae27bef9b0fa 100644 (file)
@@ -30,6 +30,10 @@ m4_include(hmacros.i4)
 
 #include "internal.h"
 
+#ifdef HAVE_POLL
+#include <sys/poll.h>
+#endif
+
 /* We override several system calls with #define's */
 
 hm_create_proto_h
@@ -62,6 +66,7 @@ void Tmust(const char *call, const char *arg, int cond);
 void Tvbf(const char *fmt, ...) PRINTFFORMAT(1,2);
 void Tvbvf(const char *fmt, va_list al);
 void Tvbfdset(int max, const fd_set *set);
+void Tvbpollfds(const struct pollfd *fds, int nfds);
 void Tvbaddr(const struct sockaddr *addr, int addrlen);
 void Tvbbytes(const void *buf, int len);
 void Tvberrno(int e);