From a67a107e0ef76a091806d211d67c101c5bf3e643 Mon Sep 17 00:00:00 2001 From: Alexey Tumanov Date: Wed, 19 Apr 2017 02:43:33 -0700 Subject: [PATCH] Fix int-type compilation problem on redhat. (#472) --- src/common/common.h | 3 +++ src/plasma/plasma.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/common.h b/src/common/common.h index c58900d16..a04fa8f38 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -5,6 +5,9 @@ #include #include #include +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif #include #include #ifndef _WIN32 diff --git a/src/plasma/plasma.h b/src/plasma/plasma.h index 8ac1460ec..3067a275b 100644 --- a/src/plasma/plasma.h +++ b/src/plasma/plasma.h @@ -1,7 +1,6 @@ #ifndef PLASMA_H #define PLASMA_H -#include #include #include #include @@ -15,6 +14,8 @@ #include "common.h" #include "format/common_generated.h" +#include + #include "utarray.h" #include "uthash.h"