chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regression tests compile on systems without poll(2). Do not install adnstest_s....
[adns]
/
regress
/
hplayback.c.m4
diff --git
a/regress/hplayback.c.m4
b/regress/hplayback.c.m4
index ce295d0b10703eac098f37f40b5b2ccb23308648..8e6424f3e67b8bb5267c6208058afc97f713f95f 100644
(file)
--- a/
regress/hplayback.c.m4
+++ b/
regress/hplayback.c.m4
@@
-150,6
+150,7
@@
static void Pfdset(fd_set *set, int max) {
}
}
}
}
+#ifdef HAVE_POLL
static int Ppollfdevents(void) {
int events;
static int Ppollfdevents(void) {
int events;
@@
-190,6
+191,7
@@
static void Ppollfds(struct pollfd *fds, int nfds) {
}
if (vb2.buf[vb2.used++] != hm_squote]hm_squote) Psyntax("pollfds end not ]");
}
}
if (vb2.buf[vb2.used++] != hm_squote]hm_squote) Psyntax("pollfds end not ]");
}
+#endif
static void Paddr(struct sockaddr *addr, int *lenr) {
struct sockaddr_in *sa= (struct sockaddr_in*)addr;
static void Paddr(struct sockaddr *addr, int *lenr) {
struct sockaddr_in *sa= (struct sockaddr_in*)addr;