diff --git a/bacnet-stack/build.bat b/bacnet-stack/build.bat index 5be1be67..40d0fd7e 100644 --- a/bacnet-stack/build.bat +++ b/bacnet-stack/build.bat @@ -7,3 +7,5 @@ rem %BORLAND_DIR%\bin\make -f makefile.b32 all rem Build for MinGW make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= clean all +rem On Linux, install mingw32 and use this: +rem make BACNET_PORT=win32 OPTIMIZATION=-Os DEBUGGING= CC=i586-mingw32msvc-gcc AR=i586-mingw32msvc-ar clean all diff --git a/bacnet-stack/ports/win32/net.h b/bacnet-stack/ports/win32/net.h index 52f338dc..9ae936e9 100644 --- a/bacnet-stack/ports/win32/net.h +++ b/bacnet-stack/ports/win32/net.h @@ -32,7 +32,7 @@ #include #if (!defined(USE_INADDR) || (USE_INADDR == 0)) && \ (!defined(USE_CLASSADDR) || (USE_CLASSADDR == 0)) -#include +#include #endif #include