port: FreeBSD has no ENODATA, alias it to ENOATTR
[lttng-tools.git] / src / common / compat / errno.h
1 /*
2 * Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef _COMPAT_ERRNO_H
9 #define _COMPAT_ERRNO_H
10
11 #include <errno.h>
12
13 /* Missing on FreeBSD */
14 #ifndef ENODATA
15 #define ENODATA ENOATTR
16 #endif
17
18 #endif /* _COMPAT_ERRNO_H */
This page took 0.031381 seconds and 6 git commands to generate.