Merge branch 'master' into next
[paraslash.git] / udp_recv.c
index edbd7c3993bb5f4b3eb18a0efc9f1233e3d9da83..f9782985d113d390c70300d099546066203f188d 100644 (file)
@@ -5,7 +5,9 @@
  */
 /** \file udp_recv.c Paraslash's udp receiver */
 
+#include <regex.h>
 #include <dirent.h>
+#include <sys/socket.h>
 #include <net/if.h>
 
 #include "para.h"
@@ -237,4 +239,5 @@ void udp_recv_init(struct receiver *r)
                .short_help = udp_recv_args_info_help,
                .detailed_help = udp_recv_args_info_detailed_help
        };
+       udp_recv_cmdline_parser_free(&dummy);
 }