We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da35de commit b27722aCopy full SHA for b27722a
portable/MSVC-MingW/port.c
@@ -33,6 +33,14 @@
33
#include "FreeRTOS.h"
34
#include "task.h"
35
36
+#ifdef WIN32_LEAN_AND_MEAN
37
+ #include <winsock2.h>
38
+#else
39
+ #include <winsock.h>
40
+#endif
41
+
42
+#include <timeapi.h>
43
44
#ifdef __GNUC__
45
#include "mmsystem.h"
46
#else
portable/MSVC-MingW/portmacro.h
@@ -29,17 +29,6 @@
29
#ifndef PORTMACRO_H
30
#define PORTMACRO_H
31
32
-#ifdef WIN32_LEAN_AND_MEAN
- #include <winsock2.h>
-#else
- #include <winsock.h>
-#endif
-
-#include <windows.h>
-#include <timeapi.h>
-#include <mmsystem.h>
-#include <winbase.h>
#ifdef __cplusplus
extern "C" {
#endif
0 commit comments