diff --git a/lib/formatter.c b/lib/formatter.c index 444d5c6..72532fc 100644 --- a/lib/formatter.c +++ b/lib/formatter.c @@ -26,7 +26,6 @@ #include #include #include -#include #include "udunits2.h" #include "unitToIdMap.h" diff --git a/lib/prefix.h b/lib/prefix.h index 63b9dc1..5f13cec 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -5,6 +5,8 @@ #ifndef UT_PREFIX_H #define UT_PREFIX_H +#include + #include "udunits2.h" #ifdef __cplusplus diff --git a/lib/udunits2.h b/lib/udunits2.h index 7dcdaac..52b0734 100644 --- a/lib/udunits2.h +++ b/lib/udunits2.h @@ -12,10 +12,9 @@ #include #ifdef _MSC_VER -#include -#include -#include #include +#include +#include #define _USE_MATH_DEFINES diff --git a/lib/unitcore.c b/lib/unitcore.c index de2e058..67e8416 100644 --- a/lib/unitcore.c +++ b/lib/unitcore.c @@ -40,35 +40,22 @@ #endif #include -#include #include #include -#ifndef _MSC_VER -#include -#else -#define int32_t __int32 -#endif +#include #ifdef _MSC_VER #define _USE_MATH_DEFINES #endif -#include #include -#ifdef _MSC_VER -#include "tsearch.h" -#else -#include -#endif - #include #include -#include #include #include -#ifndef _MSC_VER +#ifndef _MSC_VER #include #endif diff --git a/lib/xml.c b/lib/xml.c index 1e86c4c..794eaa7 100644 --- a/lib/xml.c +++ b/lib/xml.c @@ -31,6 +31,7 @@ #include #endif #include +#include #include #include #include