From 4a1feadaabc1189c0d1e155f2b6a22b8ff08bd65 Mon Sep 17 00:00:00 2001 From: xDShot Date: Sun, 12 Sep 2021 09:15:02 +0300 Subject: [PATCH] #include (#319) Fixes error about undefined INT_MAX in common/bspfile.cc --- common/bspfile.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/bspfile.cc b/common/bspfile.cc index 3d985849..560a6928 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -21,6 +21,8 @@ #include #include +#include + const bspversion_t bspver_generic { NO_VERSION, NO_VERSION, "mbsp", "generic BSP" }; const bspversion_t bspver_q1 { BSPVERSION, NO_VERSION, "bsp29", "Quake BSP" }; /* Hexen II doesn't use a separate version, but we can still use a separate tag/name for it */ @@ -3626,4 +3628,4 @@ DecompressRow (const uint8_t *in, const int numbytes, uint8_t *decompressed) c--; } } while (out - decompressed < row); -} \ No newline at end of file +}