There was an error while loading. Please reload this page.
1 parent b0d7a28 commit 5340c92Copy full SHA for 5340c92
1 file changed
src/rotator.c
@@ -1,4 +1,10 @@
1
#define _GNU_SOURCE
2
+#if defined(_WIN32) || defined(_WIN64)
3
+#define WIN32_LEAN_AND_MEAN
4
+#define NOGDI
5
+#define NOUSER
6
+typedef struct tagMSG *LPMSG;
7
+#endif
8
#include "rotator.h"
9
#include "astro.h"
10
#include <math.h>
@@ -9,7 +15,6 @@
15
#if defined(_WIN32) || defined(_WIN64)
16
#include <winsock2.h>
11
17
#include <ws2tcpip.h>
12
-#include <windows.h>
13
18
#else
14
19
#include <arpa/inet.h>
20
#include <netdb.h>
0 commit comments