libutils: Include limits for std::numeric_limits::max

This fixes the following error:
core/libutils/String8.cpp:316:67: error: incomplete type 'std::numeric_limits<long long unsigned int>' used in nested name specifier
  316 |         if (static_cast<size_t>(n) > std::numeric_limits<size_t>::max() - 1 ||
      |                                                                   ^~~

Change-Id: I80cdd2442e2798c37e066e3fdeee7dd5ac34b669
This commit is contained in:
Biswapriyo Nath 2022-10-21 10:26:01 +05:30
parent 7014fa9fa3
commit 9e25bf0136

View file

@ -25,6 +25,7 @@
#include <ctype.h>
#include <limits>
#include <string>
#include "SharedBuffer.h"