#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-#include <assert.h>
-#include <errno.h>
#include <inttypes.h>
#include <common/macros.h>
+#include <common/compat/errno.h>
#include "filter-ast.h"
#include "filter-parser.h"
if (node->data_type == IR_DATA_STRING) {
const char *str;
- assert(node->u.load.u.string.value);
+ LTTNG_ASSERT(node->u.load.u.string.value);
str = node->u.load.u.string.value;
for (;;) {