libreplace: poll based on select
[metze/samba/wip.git] / lib / replace / replace.h
index 60aa3d4e2c498fbb231fa1fc6e8de932ee18b7d0..c081f23c266ca49e30d92996ae6db594ba7b3d10 100644 (file)
@@ -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 */