Commit 46dd4f59 authored by Youness Alaoui's avatar Youness Alaoui

disable stund and stunbdc code because they need non portable function calls

parent 5701bd5f
...@@ -181,3 +181,8 @@ int main (int argc, char *argv[]) ...@@ -181,3 +181,8 @@ int main (int argc, char *argv[])
return run (family, server, port) ? 1 : 0; return run (family, server, port) ? 1 : 0;
} }
#else
int main () {
return 0;
}
#endif
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
# include <config.h> # include <config.h>
#endif #endif
#ifndef _WIN32
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
...@@ -44,9 +46,12 @@ ...@@ -44,9 +46,12 @@
#include <signal.h> #include <signal.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <limits.h> #include <limits.h>
...@@ -308,3 +313,9 @@ int main (int argc, char *argv[]) ...@@ -308,3 +313,9 @@ int main (int argc, char *argv[])
signal (SIGTERM, exit_handler); signal (SIGTERM, exit_handler);
return run (family, IPPROTO_UDP, port) ? EXIT_FAILURE : EXIT_SUCCESS; return run (family, IPPROTO_UDP, port) ? EXIT_FAILURE : EXIT_SUCCESS;
} }
#else
int main () {
return 0;
}
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment