port: FreeBSD has no ENODATA, alias it to ENOATTR
[lttng-tools.git] / tests / unit / test_directory_handle.c
index a94c4df75e7049da5cf7ac2d9a6897f6fb230590..8bc59e08169809bfc5773f2b89211ee3015d2b44 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
 #include <stdio.h>
@@ -17,6 +16,7 @@
 #include <unistd.h>
 
 #include <common/compat/directory-handle.h>
+#include <common/compat/errno.h>
 #include <common/error.h>
 #include <tap/tap.h>
 
This page took 0.025567 seconds and 4 git commands to generate.