diff --git a/Source/MediaStorageAndFileFormat/gdcmFileStreamer.cxx b/Source/MediaStorageAndFileFormat/gdcmFileStreamer.cxx index 7723b0a83..c35cc716d 100644 --- a/Source/MediaStorageAndFileFormat/gdcmFileStreamer.cxx +++ b/Source/MediaStorageAndFileFormat/gdcmFileStreamer.cxx @@ -35,7 +35,7 @@ #include typedef int64_t off64_t; #else -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__EMSCRIPTEN__) # define off64_t off_t #endif #include // ftruncate