introduce para_select()
[paraslash.git] / audioc.c
index 968f84b..93e9117 100644 (file)
--- a/audioc.c
+++ b/audioc.c
@@ -22,6 +22,7 @@
 #include "para.h"
 #include "net.h"
 #include "string.h"
+#include "fd.h"
 
 struct gengetopt_args_info conf;
 char *tmpfifo;
@@ -130,7 +131,7 @@ int main(int argc, char *argv[])
                ret = -E_OVERRUN;
                if (max_fileno < 0)
                        goto out;
-               ret = select(max_fileno + 1, &rfd, &wfd, NULL, NULL);
+               ret = para_select(max_fileno + 1, &rfd, &wfd, NULL);
                if (ret < 0) {
                        ret = -E_SELECT;
                        goto out;