Add new "screenshots".
[paraslash.git] / recv.c
diff --git a/recv.c b/recv.c
index 423ccbc..0fe4641 100644 (file)
--- a/recv.c
+++ b/recv.c
@@ -6,8 +6,10 @@
 
 /** \file recv.c the stand-alone audio stream receiver */
 
 
 /** \file recv.c the stand-alone audio stream receiver */
 
-#include "para.h"
+#include <sys/types.h>
+#include <dirent.h>
 
 
+#include "para.h"
 #include "list.h"
 #include "sched.h"
 #include "recv.h"
 #include "list.h"
 #include "sched.h"
 #include "recv.h"
@@ -102,7 +104,7 @@ int main(int argc, char *argv[])
        sprintf(rn.task.status, "receiver node");
        register_task(&rn.task);
 
        sprintf(rn.task.status, "receiver node");
        register_task(&rn.task);
 
-       ret = sched(&s);
+       ret = schedule(&s);
 out:
        if (r_opened)
                r->close(&rn);
 out:
        if (r_opened)
                r->close(&rn);