diff --git a/doc/html/changelog.html b/doc/html/changelog.html
index ccf4357b..d4a76045 100644
--- a/doc/html/changelog.html
+++ b/doc/html/changelog.html
@@ -100,6 +100,7 @@
- Fixed bug compiling flac without Ogg support (SF #1760786).
- Fixed bug where sometimes an existing installation of flac could interfere with the build process (SF #1763690).
+ - Some MinGW fixes (SF #1684879).
diff --git a/src/libFLAC/bitreader.c b/src/libFLAC/bitreader.c
index ce6fe82b..7d63e526 100644
--- a/src/libFLAC/bitreader.c
+++ b/src/libFLAC/bitreader.c
@@ -39,6 +39,8 @@
#include /* for ntohl() */
#elif defined FLAC__SYS_DARWIN
#include /* for ntohl() */
+#elif defined __MINGW32__
+#include /* for ntohl() */
#else
#include /* for ntohl() */
#endif
diff --git a/src/libFLAC/bitwriter.c b/src/libFLAC/bitwriter.c
index 4e34a389..4a43530b 100644
--- a/src/libFLAC/bitwriter.c
+++ b/src/libFLAC/bitwriter.c
@@ -39,6 +39,8 @@
#include /* for ntohl() */
#elif defined FLAC__SYS_DARWIN
#include /* for ntohl() */
+#elif defined __MINGW32__
+#include /* for ntohl() */
#else
#include /* for ntohl() */
#endif
diff --git a/src/share/grabbag/file.c b/src/share/grabbag/file.c
index a481f743..d073c4bf 100644
--- a/src/share/grabbag/file.c
+++ b/src/share/grabbag/file.c
@@ -42,8 +42,8 @@
#include /* for strrchr() */
#if defined _WIN32 && !defined __CYGWIN__
// for GetFileInformationByHandle() etc
-#include
-#include
+#include
+#include
#endif
#include "share/grabbag.h"