only include vector header when compiling c++
This commit is contained in:
parent
d97c56d4c1
commit
0a2520490b
@ -25,7 +25,11 @@ we therefore test the API over various inputs. Please add more tests :-)
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <vector>
|
||||
#endif
|
||||
|
||||
#include "mimalloc.h"
|
||||
#include "mimalloc-internal.h"
|
||||
#include "mimalloc-stl-allocator.h"
|
||||
|
Loading…
Reference in New Issue
Block a user