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:
parent
63c5b5f9ea
commit
3d6108ae09
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue