X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=regress%2Fharness.h.m4;h=a2e278847cff822e28c6efb61ca9ae27bef9b0fa;hb=2345cc9b2cf1eb59444d33c17d443bd93c6a5743;hp=8f95b3376732fb5bfa6cf09a5815f12e9b10f369;hpb=98b6d5b430d4326235c108afcc8a4e4ee36559f4;p=adns.git diff --git a/regress/harness.h.m4 b/regress/harness.h.m4 index 8f95b33..a2e2788 100644 --- a/regress/harness.h.m4 +++ b/regress/harness.h.m4 @@ -2,7 +2,7 @@ m4_dnl harness.h.m4 m4_dnl (part of complex test harness, not of the library) m4_dnl - function and other declarations -m4_dnl This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson +m4_dnl This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson m4_dnl m4_dnl This program is free software; you can redistribute it and/or modify m4_dnl it under the terms of the GNU General Public License as published by @@ -30,6 +30,10 @@ m4_include(hmacros.i4) #include "internal.h" +#ifdef HAVE_POLL +#include +#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);