Build fix: missing header on macOS
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Apr 2023 15:28:22 +0000 (11:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Apr 2023 15:30:11 +0000 (11:30 -0400)
commitdf28caaa2a7a2762ea7f20f393dfbe8795cda602
tree4cc9f275391ddf34691c26fc05a0b3f6b3e8dc98
parentbac9f49cfea4f149942d45ed37c96251f1deee0d
Build fix: missing header on macOS

The build fails on macOS (on both ARM64 and AMD64 platforms):
  exception.cpp:32:41: error: use of undeclared identifier 'error_get_str'
          runtime_error(msg + ": " + std::string(error_get_str(error_code)),
                                                 ^

error_get_str is defined in lttng/lttng-error.h

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I69fa0c0bc442d0cb28779f6b4c55d0b6a7196791
src/common/exception.cpp
This page took 0.024579 seconds and 4 git commands to generate.