From ab57e6dfdaef74bd6d7df14fb27ea91b76fc663e Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Sun, 5 Dec 2010 00:48:59 +0100 Subject: [PATCH] Fix segfault in bandwidth-server-many-up on inet_ntoa() call --- tests/bandwidth-server-many-up.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/tests/bandwidth-server-many-up.c b/tests/bandwidth-server-many-up.c index 8679372..989b4b0 100644 --- a/tests/bandwidth-server-many-up.c +++ b/tests/bandwidth-server-many-up.c @@ -28,6 +28,8 @@ #include #else #include +/* Required by inet_ntoa() to avoid a segfault! */ +#include #endif #define NB_CONNECTION 5 -- libgit2 0.21.4