summaryrefslogtreecommitdiff
path: root/src/file.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-23 20:20:47 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-23 20:20:47 +0100
commita442b3624879891f731632a6f72cbb71a51381fd (patch)
tree99eea1770cfd7132d23cf9a3043806845072d530 /src/file.cc
parenta19fe8260a4e1f4cb9d523f5b2cb41eae0a61acd (diff)
Fix windows build.
Diffstat (limited to 'src/file.cc')
-rw-r--r--src/file.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file.cc b/src/file.cc
index e13954bd..b5d2eed4 100644
--- a/src/file.cc
+++ b/src/file.cc
@@ -35,6 +35,9 @@
#include "dcp_assert.h"
#include "file.h"
#include <boost/algorithm/string.hpp>
+#ifdef LIBDCP_WINDOWS
+#include <errhandlingapi.h>
+#endif
#include <stdio.h>