From 0fc1650e091727971b3e3017f9f06cae6cdf71bb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 9 Feb 2011 19:22:25 +0100 Subject: libreplace: poll based on select --- lib/replace/replace.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/replace/replace.h') diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 60aa3d4e2c..c081f23c26 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -797,4 +797,9 @@ int fdatasync(int ); #endif #endif +#ifndef HAVE_POLL +#define poll rep_poll +/* prototype is in "system/network.h" */ +#endif + #endif /* _LIBREPLACE_REPLACE_H */ -- cgit