diff options
Diffstat (limited to 'src/collectors/windows.plugin/windows-internals.h')
-rw-r--r-- | src/collectors/windows.plugin/windows-internals.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/src/collectors/windows.plugin/windows-internals.h b/src/collectors/windows.plugin/windows-internals.h index 1b7cccc73..70d44b902 100644 --- a/src/collectors/windows.plugin/windows-internals.h +++ b/src/collectors/windows.plugin/windows-internals.h @@ -1,18 +1,17 @@ -// SPDX-License-Identifier: GPL-3.0-or-later
-
-#ifndef NETDATA_WINDOWS_INTERNALS_H
-#define NETDATA_WINDOWS_INTERNALS_H
-
-#include <windows.h>
-
-static inline ULONGLONG FileTimeToULL(FILETIME ft) {
- ULARGE_INTEGER ul;
- ul.LowPart = ft.dwLowDateTime;
- ul.HighPart = ft.dwHighDateTime;
- return ul.QuadPart;
-}
-
-#include "perflib.h"
-#include "perflib-rrd.h"
-
-#endif //NETDATA_WINDOWS_INTERNALS_H
+// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef NETDATA_WINDOWS_INTERNALS_H +#define NETDATA_WINDOWS_INTERNALS_H + +#include "libnetdata/libnetdata.h" + +static inline ULONGLONG FileTimeToULL(FILETIME ft) { + ULARGE_INTEGER ul; + ul.LowPart = ft.dwLowDateTime; + ul.HighPart = ft.dwHighDateTime; + return ul.QuadPart; +} + +#include "perflib-rrd.h" + +#endif //NETDATA_WINDOWS_INTERNALS_H |