summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-09 19:22:25 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-28 16:40:19 +0100
commit0fc1650e091727971b3e3017f9f06cae6cdf71bb (patch)
tree204644c18847c7eb0388a5c89fa096128899f389 /lib/replace/replace.h
parent5e93e3e88fb4a219492c23c18067f358b54311d0 (diff)
downloadsamba-0fc1650e091727971b3e3017f9f06cae6cdf71bb.tar.gz
samba-0fc1650e091727971b3e3017f9f06cae6cdf71bb.tar.bz2
samba-0fc1650e091727971b3e3017f9f06cae6cdf71bb.zip
libreplace: poll based on select
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h5
1 files changed, 5 insertions, 0 deletions
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 */