Include inttypes.h in playsave.cpp

Mako88 reports that an unspecified environment fails to build
playsave.cpp.  The failure is because PRIuFAST32 is undefined.  In most
environments, SDL automatically includes inttypes.h, which provides
PRIuFAST32.  In this unspecified environment, SDL does not include
inttypes.h.  Include it explicitly to ensure the definition is
available.
This commit is contained in:
Kp 2016-08-20 22:28:43 +00:00
parent 63c5b5f9ea
commit 3d6108ae09
2 changed files with 2 additions and 0 deletions

View file

@ -30,6 +30,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include <string.h>
#include <time.h>
#include <ctype.h>
#include <inttypes.h>
#include "u_mem.h"
#include "strutil.h"

View file

@ -31,6 +31,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#endif
#include <errno.h>
#include <ctype.h>
#include <inttypes.h>
#include "dxxerror.h"
#include "strutil.h"