commit 86fdac190054511ef017d136823e35e196c0d92e
parent 1442e55e56b5b9de89711bc9b32b88aee6d87ef2
Author: David Auer <dreua@posteo.de>
Date: Fri, 20 Jul 2018 22:46:55 +0200
Fix import 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