Skip to content

Commit d827e13

Browse files
committed
Fix: missing config.h includes in some files.
Leads to compile issues on some platforms (e.g. FreeBSD), see #119.
1 parent 5633b4b commit d827e13

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

JSON_handler.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
* along with memtier_benchmark. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19+
#ifdef HAVE_CONFIG_H
20+
#include "config.h"
21+
#endif
22+
1923
#include <stdlib.h>
2024
#include <string.h>
2125

run_stats_types.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
* along with memtier_benchmark. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19+
#ifdef HAVE_CONFIG_H
20+
#include "config.h"
21+
#endif
22+
1923
#include <stdio.h>
2024

2125
#include "run_stats_types.h"

0 commit comments

Comments
 (0)