X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/3c5796f7283298530d86b697b516f5d25bb796c1..ac45858ecc93bdcb51be4860be6b728affebdacf:/regress/harness.h.m4?ds=sidebyside 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);