cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 0861f933e61bdda83014303665cdd5122b9b40e5
parent dc7cd8a254926625815a4284e949c1e885799834
Author: David Auer <david.auer@credativ.de>
Date:   Thu, 18 Aug 2022 17:53:36 +0200

Remove duplicate include sys/socket.h

Diffstat:
Mping.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ping.c b/ping.c @@ -8,7 +8,6 @@ #include <errno.h> #include <stdio.h> #include <stdlib.h> -#include <sys/socket.h> #include "ping.h" #include "error_handling.h" @@ -164,7 +163,7 @@ void ping(struct sockaddr_in *addr ) #include <winsock2.h> #include <ws2tcpip.h> #include <stdint.h> -#else +#else // ! WIN32 #ifdef __FreeBSD__ #include <netinet/in.h> #endif