Fix the MacOS build of incremental*
Test: local build, no feature code changes
Change-Id: Ic0072b06f6bfd6b12f26c4056bd3192cd3fdd778
diff --git a/client/incremental.cpp b/client/incremental.cpp
index b728a6b..6499d46 100644
--- a/client/incremental.cpp
+++ b/client/incremental.cpp
@@ -16,6 +16,7 @@
#include "incremental.h"
+#include <android-base/endian.h>
#include <android-base/file.h>
#include <android-base/stringprintf.h>
#include <openssl/base64.h>
@@ -26,12 +27,6 @@
#include "commandline.h"
#include "sysdeps.h"
-#ifndef _WIN32
-#include <endian.h>
-#else
-#define be32toh(x) _byteswap_ulong(x)
-#endif
-
using namespace std::literals;
namespace incremental {