Commit ab57e6dfdaef74bd6d7df14fb27ea91b76fc663e

Authored by Stéphane Raimbault
1 parent 614ff1dc

Fix segfault in bandwidth-server-many-up on inet_ntoa() call

tests/bandwidth-server-many-up.c
@@ -28,6 +28,8 @@ @@ -28,6 +28,8 @@
28 #include <ws2tcpip.h> 28 #include <ws2tcpip.h>
29 #else 29 #else
30 #include <netinet/in.h> 30 #include <netinet/in.h>
  31 +/* Required by inet_ntoa() to avoid a segfault! */
  32 +#include <arpa/inet.h>
31 #endif 33 #endif
32 34
33 #define NB_CONNECTION 5 35 #define NB_CONNECTION 5