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"