From 30500cbaa8a8f843c7e7475b777090e41e27d1b2 Mon Sep 17 00:00:00 2001 From: Kp Date: Thu, 10 Nov 2022 02:04:09 +0000 Subject: [PATCH] Add inttypes.h to bmread.cpp for PRIuFAST32 bmread.cpp uses PRIuFAST32, so it should include inttypes.h to get the definition of this macro. Some platforms happened to include inttypes.h as an implementation detail, but for portability, it needs to be included explicitly in this file. Reported-by: AlumiuN --- similar/main/bmread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/similar/main/bmread.cpp b/similar/main/bmread.cpp index edfa58fff..869c6c2c5 100644 --- a/similar/main/bmread.cpp +++ b/similar/main/bmread.cpp @@ -31,6 +31,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #include #include #include +#include #include "pstypes.h" #include "gr.h"