cnping

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

commit 7f3bcf32bbaefaa1cd3031895d130831bbec3727
parent 1442e55e56b5b9de89711bc9b32b88aee6d87ef2
Author: CNLohr <charles@cnlohr.com>
Date:   Sun, 22 Jul 2018 02:38:47 -0400

Merge pull request #48 from dreua/fix_import_order

Fix macro order for linux
Diffstat:
Mhttping.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/httping.c b/httping.c @@ -6,10 +6,6 @@ #include <unistd.h> #include <sys/types.h> -#ifndef MSG_NOSIGNAL - #define MSG_NOSIGNAL 0 -#endif - #ifdef WIN32 #include <winsock2.h> #else @@ -21,6 +17,9 @@ #include "os_generic.h" #include "error_handling.h" +#ifndef MSG_NOSIGNAL + #define MSG_NOSIGNAL 0 +#endif #define HTTPTIMEOUT 3.0