mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#define sysprof_assert_not_reached() assert (false)
|
||||
|
||||
#define SYSPROF_N_ELEMENTS(a) (sizeof (a) / sizeof (*a))
|
||||
|
||||
Reference in New Issue
Block a user