Skip to content

Commit 0aacdc7

Browse files
committed
fix missing includes (see PR #1176 by Simonhancrew)
1 parent 3c878f9 commit 0aacdc7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/mimalloc/prim.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terms of the MIT license. A copy of the license can be found in the file
77
#pragma once
88
#ifndef MIMALLOC_PRIM_H
99
#define MIMALLOC_PRIM_H
10-
10+
#include "internal.h" // mi_decl_hidden
1111

1212
// --------------------------------------------------------------------------
1313
// This file specifies the primitive portability API.

include/mimalloc/types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ terms of the MIT license. A copy of the license can be found in the file
2424
#include <mimalloc-stats.h>
2525
#include <stddef.h> // ptrdiff_t
2626
#include <stdint.h> // uintptr_t, uint16_t, etc
27+
#include <stdbool.h> // bool
2728
#include "atomic.h" // _Atomic
2829

2930
#ifdef _MSC_VER

0 commit comments

Comments
 (0)