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:
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