mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 15:40:53 +00:00
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:
@ -59,6 +59,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define sysprof_assert_not_reached() assert (false)
|
#define sysprof_assert_not_reached() assert (false)
|
||||||
|
|
||||||
#define SYSPROF_N_ELEMENTS(a) (sizeof (a) / sizeof (*a))
|
#define SYSPROF_N_ELEMENTS(a) (sizeof (a) / sizeof (*a))
|
||||||
|
|||||||
Reference in New Issue
Block a user