Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 703623007
  • Loading branch information
MediaPipe Team authored and copybara-github committed Dec 6, 2024
1 parent 0bd500e commit 180e7de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mediapipe/framework/deps/mlock_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#include <cstddef>

#ifdef _WIN32
// clang-format off
#include <windows.h> // Must come before other Windows headers
// clang-format on
#include <memoryapi.h>
#else
#include <sys/mman.h>
Expand Down

0 comments on commit 180e7de

Please sign in to comment.