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:
ngie 2015-12-08 22:47:54 +00:00
parent ce99ff4570
commit 0ae8386452
2 changed files with 6 additions and 0 deletions

@ -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>