port: FreeBSD has no ENODATA, alias it to ENOATTR
[lttng-tools.git] / src / common / runas.c
index 3c4c2ae0bb9d360141c3ed5dbb60fbc6a420e8ab..30bf4263aa3d55c365c99a2ff4e57ef61a7614ed 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #define _LGPL_SOURCE
-#include <errno.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -26,6 +25,7 @@
 #include <common/lttng-kernel.h>
 #include <common/common.h>
 #include <common/utils.h>
+#include <common/compat/errno.h>
 #include <common/compat/getenv.h>
 #include <common/compat/string.h>
 #include <common/unix.h>
This page took 0.022764 seconds and 4 git commands to generate.