X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fext.cc;h=96753eca4927bc78a4d19fe7f6fc729e1a06f9af;hb=c26e79a3598ff1b36f800823f178a0829d0fa547;hp=7853984cf28e2b4ff123078fe02dccae39c03eaf;hpb=8a8c977c12fc65f1f50ea05099387e0fc8840e7d;p=dcpomatic.git diff --git a/src/lib/ext.cc b/src/lib/ext.cc index 7853984cf..96753eca4 100644 --- a/src/lib/ext.cc +++ b/src/lib/ext.cc @@ -27,6 +27,7 @@ #include "exceptions.h" #include "ext.h" #include "nanomsg.h" +#include #ifdef DCPOMATIC_LINUX #include @@ -72,7 +73,7 @@ using std::vector; /* Use quite a big block size here, as ext4's fwrite() has quite a bit of overhead */ -static uint64_t const block_size = 4096 * 4096; +uint64_t constexpr block_size = 4096 * 4096; static