only include vector header when compiling c++

This commit is contained in:
Kirsten Lee 2020-01-06 16:44:55 -08:00
parent d97c56d4c1
commit 0a2520490b

View File

@ -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"