Fix compilation when -DDEBUG is defined by adding inttypes.h #include
for intmax_t MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D4434 Reported by: cppcheck Reviewed by: jhb Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
021eaf7996
commit
692a3987f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292004
@ -31,6 +31,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include "namespace.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#ifdef DEBUG
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -31,6 +31,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include "namespace.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#ifdef DEBUG
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user