libsysprof-capture: Add a missing string.h include

It’s needed for `strdup()` which is now used in a macro in this header.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2020-07-06 11:27:44 +01:00
parent eae4eb4ad7
commit 1c32c1ece5

View File

@ -59,6 +59,8 @@
#pragma once
#include <string.h>
#define sysprof_assert_not_reached() assert (false)
#define SYSPROF_N_ELEMENTS(a) (sizeof (a) / sizeof (*a))