#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
+#include <common/compat/errno.h>
#include <common/macros.h>
#include <common/string-utils/string-utils.h>
node->u.load.u.string.type;
if (type == IR_LOAD_STRING_TYPE_GLOB_STAR_END ||
type == IR_LOAD_STRING_TYPE_GLOB_STAR) {
- assert(node->u.load.u.string.value);
+ LTTNG_ASSERT(node->u.load.u.string.value);
strutils_normalize_star_glob_pattern(
node->u.load.u.string.value);
}