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 <https://github.com/dxx-rebirth/dxx-rebirth/issues/678#issuecomment-1304962448>
This commit is contained in:
parent
562fee9d09
commit
30500cbaa8
|
@ -31,6 +31,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "pstypes.h"
|
||||
#include "gr.h"
|
||||
|
|
Loading…
Reference in a new issue