port: FreeBSD has no ENODATA, alias it to ENOATTR
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Oct 2020 21:33:44 +0000 (17:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Nov 2020 20:03:27 +0000 (15:03 -0500)
According to 'the internet' ENOATTR is used in a similar fashion to
ENODATA on the BSDs and we used it internally only anyway.

Change-Id: Ia4e77fd6d28c9dfb43f99ddba6c32369384827f0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
45 files changed:
src/bin/lttng-sessiond/event.c
src/bin/lttng-sessiond/fd-limit.c
src/bin/lttng-sessiond/sessiond-config.c
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-consumer.c
src/bin/lttng/conf.c
src/common/compat/Makefile.am
src/common/compat/errno.h [new file with mode: 0644]
src/common/compat/fcntl.h
src/common/compat/pthread.h
src/common/compat/socket.h
src/common/compat/time.h
src/common/error.c
src/common/error.h
src/common/filter/filter-grammar-test.c
src/common/filter/filter-parser.y
src/common/filter/filter-visitor-generate-bytecode.c
src/common/filter/filter-visitor-generate-ir.c
src/common/filter/filter-visitor-ir-check-binary-comparator.c
src/common/filter/filter-visitor-ir-check-binary-op-nesting.c
src/common/filter/filter-visitor-ir-normalize-glob-patterns.c
src/common/filter/filter-visitor-ir-validate-globbing.c
src/common/filter/filter-visitor-ir-validate-string.c
src/common/filter/filter-visitor-xml.c
src/common/kernel-ctl/kernel-ctl.c
src/common/readwrite.c
src/common/runas.c
src/common/sessiond-comm/inet.c
src/common/sessiond-comm/inet6.c
src/common/sessiond-comm/sessiond-comm.c
src/common/spawn-viewer.c
src/common/time.c
src/common/unix.c
src/common/ust-consumer/ust-consumer.h
src/lib/lttng-ctl/lttng-ctl-health.c
src/lib/lttng-ctl/lttng-ctl.c
tests/regression/tools/live/live_test.c
tests/regression/tools/notification/notification.c
tests/regression/ust/ust-dl/prog.c
tests/unit/test_directory_handle.c
tests/unit/test_fd_tracker.c
tests/unit/test_kernel_data.c
tests/unit/test_session.c
tests/unit/test_ust_data.c
tests/utils/utils.c

index 189236beb1171a05ba21e89b3ecb51216a7b5e47..d8abc60f5eeb0008ffdfbb87ecaf275c6e06edfe 100644 (file)
@@ -7,10 +7,10 @@
  */
 
 #define _LGPL_SOURCE
-#include <errno.h>
 #include <urcu/list.h>
 #include <string.h>
 
+#include <common/compat/errno.h>
 #include <lttng/lttng.h>
 #include <common/error.h>
 #include <common/sessiond-comm/sessiond-comm.h>
index 626b4662c32c67a97252b248824d3d67666354bd..973f7d74aa2acd76f4aaef764f11807cb461676b 100644 (file)
@@ -9,10 +9,10 @@
 #include <urcu/uatomic.h>
 #include <sys/time.h>
 #include <sys/resource.h>
-#include <errno.h>
 #include <stdio.h>
 #include "fd-limit.h"
 #include <common/error.h>
+#include <common/compat/errno.h>
 
 /* total count of fd. */
 static long fd_count;
index f0ab4ce0423530b25a6de8beb599a46fcd08ecec..c7a91830768389b82972da51ead472390657d98d 100644 (file)
 #include "lttng-ust-ctl.h"
 #include <common/defaults.h>
 #include <limits.h>
-#include <errno.h>
 #include <ctype.h>
 #include <common/error.h>
 #include <common/utils.h>
+#include <common/compat/errno.h>
 #include <common/compat/getenv.h>
 
 static
index 1f2d4238ef673825312e29b19f397c49ef482a9d..28313cb937acbe667266126352790086787687cb 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #define _LGPL_SOURCE
-#include <errno.h>
 #include <inttypes.h>
 #include <pthread.h>
 #include <stdio.h>
@@ -19,6 +18,7 @@
 #include <urcu/compiler.h>
 #include <signal.h>
 
+#include <common/compat/errno.h>
 #include <common/common.h>
 #include <common/sessiond-comm/sessiond-comm.h>
 
index 70e3d165835974479ebad8e08e5460adaa1fbeb2..cd6b53ee1d2232db570f51ba97ca712f6862b720 100644 (file)
@@ -6,13 +6,13 @@
  */
 
 #define _LGPL_SOURCE
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <inttypes.h>
 
+#include <common/compat/errno.h>
 #include <common/common.h>
 #include <common/consumer/consumer.h>
 #include <common/defaults.h>
index 8e703b05841b0a7c19302d8a51f8635e97de6250..4079d6ed9421273680d102d4bc9cf9353534dfb6 100644 (file)
@@ -13,8 +13,8 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <errno.h>
 
+#include <common/compat/errno.h>
 #include <common/common.h>
 #include <common/utils.h>
 
index 299a956b99883bd631afb63ed256711f4374a3e3..a8f2c10019afe07e076854a1f24ff2b366c27b24 100644 (file)
@@ -5,4 +5,5 @@ noinst_LTLIBRARIES = libcompat.la
 libcompat_la_SOURCES = poll.c poll.h fcntl.h endian.h mman.h dirent.h \
                socket.h compat-fcntl.c tid.h \
                getenv.h string.h paths.h pthread.h netdb.h \
-               time.h directory-handle.h directory-handle.c path.h
+               time.h directory-handle.h directory-handle.c path.h \
+               errno.h
diff --git a/src/common/compat/errno.h b/src/common/compat/errno.h
new file mode 100644 (file)
index 0000000..18cb847
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
+#ifndef _COMPAT_ERRNO_H
+#define _COMPAT_ERRNO_H
+
+#include <errno.h>
+
+/* Missing on FreeBSD */
+#ifndef ENODATA
+#define ENODATA ENOATTR
+#endif
+
+#endif /* _COMPAT_ERRNO_H */
index ef97bf9da3ffc54c7560eacf688c0cc92e450f89..b18e2f4e76d653b2810e1bd8892edbd9031d1b90 100644 (file)
@@ -9,9 +9,10 @@
 #define _COMPAT_FCNTL_H
 
 #include <fcntl.h>
-#include <errno.h>
 #include <sys/types.h>
 
+#include <common/compat/errno.h>
+
 #if (defined(__CYGWIN__))
 typedef long long off64_t;
 #endif
index 4d3f9c7720cd7623218c966c7ce4eec723b42193..87aa746ba13e68e624b57d1c433d0da0c44d2c61 100644 (file)
@@ -9,7 +9,7 @@
 #define _COMPAT_PTHREAD_H
 
 #include <pthread.h>
-#include <errno.h>
+#include <common/compat/errno.h>
 
 #if defined(HAVE_PTHREAD_SETNAME_NP_WITH_TID)
 static inline
index 3690ba6797c7c0c811a62ea4d1541eef0263e571..a510473c35fbdeb4e78e245b35732c7f52e1dca9 100644 (file)
@@ -28,7 +28,7 @@ ssize_t lttng_recvmsg_nosigpipe(int sockfd, struct msghdr *msg)
 #else
 
 #include <signal.h>
-#include <errno.h>
+#include <common/compat/errno.h>
 
 static inline
 ssize_t lttng_recvmsg_nosigpipe(int sockfd, struct msghdr *msg)
index eb67d39ec74bcb3ef5b1ad877f0c41d25e172423..72a9afff47ef0a4db433bc3f78d995b98ef0d3fd 100644 (file)
@@ -16,7 +16,7 @@ typedef uint64_t timer_t;
 
 #include <mach/mach.h>
 #include <mach/clock.h>
-#include <errno.h>
+#include <common/compat/errno.h>
 
 #undef NSEC_PER_SEC
 #undef NSEC_PER_MSEC
index 11dbc90289806decc6507f11f94727ab9e0476a1..7ededdb734251e73e0a63a5dbf5705237cf9041e 100644 (file)
@@ -7,7 +7,6 @@
 
 #define _LGPL_SOURCE
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
 #include <pthread.h>
 #include <stdlib.h>
@@ -15,6 +14,7 @@
 
 #include <common/common.h>
 #include <common/thread.h>
+#include <common/compat/errno.h>
 #include <common/compat/getenv.h>
 #include <lttng/lttng-error.h>
 
index ea00ea5f96f7b81eb5bfb045e9ae893e5303644d..c4aa4012aa4aaed38c0e1a25154c78419467f0c0 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef _ERROR_H
 #define _ERROR_H
 
-#include <errno.h>
+#include <common/compat/errno.h>
 #include <stdio.h>
 #include <stdint.h>
 #include <string.h>
index 70656e1a84f42f87b1b0a35bb1579f2b15e908c9..ba888aec3ead29045747dcab3d900e3b63f6b849 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
+
+#include <common/compat/errno.h>
+
 #include "filter-ast.h"
 #include "filter-parser.h"
 #include "filter-bytecode.h"
index 245d83c26bd99c859c62fc9e59dc5235254f4f9a..e52f04eb3e6fa8fcc9bce0384f1e7d3442814737 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
 #include "filter-ast.h"
 #include "filter-parser.h"
 #include "filter-bytecode.h"
 #include "memstream.h"
 
+#include <common/compat/errno.h>
 #include <common/macros.h>
 
 #define WIDTH_u64_SCANF_IS_A_BROKEN_API        "20"
index 699273c3d984f7e9aba6f4ee51b0d77e2fa666d1..ce35cec6e4563a6c781bc19671ee39712c55b146 100644 (file)
@@ -11,8 +11,8 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <errno.h>
 #include <common/align.h>
+#include <common/compat/errno.h>
 #include <common/compat/string.h>
 
 #include "filter-bytecode.h"
index 11c6b610c1276893ea4986dd18fc9a090f02fdc4..b7bc17d18ce0bb742e9b848ef4a079ecff39dca8 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
 #include "filter-ast.h"
 #include "filter-parser.h"
 #include "filter-ir.h"
 
+#include <common/compat/errno.h>
 #include <common/macros.h>
 #include <common/string-utils/string-utils.h>
 
index bcbb69e3f4f108e607052c5c153c9da4ee97b85d..ae61ae96ba170666dd83107d6e3c4d2c0ac1f6ad 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
+
+#include <common/compat/errno.h>
+
 #include "filter-ast.h"
 #include "filter-parser.h"
 #include "filter-ir.h"
index 04a5fbdd6740047332eb37f93f4107d05f1ada1d..9c259f7766aeba5a22b0907849106dbe27dda4ed 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
 #include "filter-ast.h"
 #include "filter-parser.h"
 #include "filter-ir.h"
 
+#include <common/compat/errno.h>
 #include <common/macros.h>
 
 static
index 5e2778e09de84e5d05594b74dc11f487f7806aea..d6a9132d3692f68a445914d8792b1e805fbd4d6e 100644 (file)
@@ -14,9 +14,9 @@
 #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>
 
index 3e749a4daad0d9eb5c0ceaf6e46eb99715da9f90..db64cbdf58201784fdbc6e494df00314fb739f40 100644 (file)
@@ -14,9 +14,9 @@
 #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 "filter-ast.h"
index 1df83b03fb3711466378da2492ec0169c67190b5..b62fbc438cf38d2e56437d04b1bc5136cfdcbaf3 100644 (file)
 #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"
index d5ff0c187f515b2e81a1458080a50726ee97b49a..a5aba193b6383e2df6e8233b93b32874b59e2cdb 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <errno.h>
 #include <inttypes.h>
 #include "filter-ast.h"
 #include "filter-parser.h"
 
+#include <common/compat/errno.h>
 #include <common/macros.h>
 
 #define fprintf_dbg(fd, fmt, args...)  fprintf(fd, "%s: " fmt, __func__, ## args)
index 10e281d69315a638a24b96102b601415eeb18801..4470e77177d104011e88b37a0096b0036f6f61b0 100644 (file)
@@ -14,7 +14,7 @@
 #include <string.h>
 #include <common/align.h>
 #include <common/macros.h>
-#include <errno.h>
+#include <common/compat/errno.h>
 #include <stdarg.h>
 #include <assert.h>
 #include <common/time.h>
index 9ec2cb0e5814999f9818b3a4fe1623c7bb70f5cb..6019aa2dc3f6f0bb79c8f921bee0ee1219c60da9 100644 (file)
@@ -7,10 +7,11 @@
 
 #define _LGPL_SOURCE
 #include <assert.h>
-#include <errno.h>
 #include <limits.h>
 #include <unistd.h>
 
+#include <common/compat/errno.h>
+
 #include "readwrite.h"
 
 /*
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>
index aff451e753ec12dfcaea521c5467cbfb4c1bf19e..827b97598f0810a0a8ce229318be60be67c3e1e3 100644 (file)
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <common/compat/time.h>
 #include <poll.h>
 
 #include <common/common.h>
 #include <common/time.h>
+#include <common/compat/errno.h>
 
 #include "inet.h"
 
index c33e39f7bb9a2408e291a0f6e3d6310ab442af85..40610ed5745bf54ddf7927c3fe98b3b5acec98fa 100644 (file)
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <common/compat/time.h>
 #include <poll.h>
 
 #include <common/common.h>
 #include <common/time.h>
+#include <common/compat/errno.h>
 
 #include "inet6.h"
 
index 9f00ae181afd42aabd18fc9b0320a35e7569e95a..6c00a71bcddb8529a872bec96ec6895a3a055c1a 100644 (file)
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <errno.h>
 #include <inttypes.h>
 
 #include <common/common.h>
+#include <common/compat/errno.h>
 
 #include "sessiond-comm.h"
 
index 26fe9199faab60fbbae724ebf3dd7922edb2a73f..7818865035dd4eebdcee650b5cf9f7701198b8cc 100644 (file)
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <errno.h>
 
 #include <lttng/constant.h>
 
+#include <common/compat/errno.h>
 #include "error.h"
 #include "macros.h"
 #include "spawn-viewer.h"
index d084a3fddbdb5c462e5246fb83b9c336c4b898e9..90ce4d4b67694bd046b3ddd589bf27e9644d1231 100644 (file)
@@ -9,10 +9,10 @@
 #include <common/error.h>
 #include <common/macros.h>
 #include <common/error.h>
+#include <common/compat/errno.h>
 #include <stddef.h>
 #include <stdint.h>
 #include <limits.h>
-#include <errno.h>
 #include <pthread.h>
 #include <locale.h>
 #include <string.h>
index 2053343256a337fa25e5ab866a0950e488e5b02e..0e6c329c072c385da4e25836290f60f436ca69e5 100644 (file)
@@ -15,9 +15,9 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <errno.h>
 
 #include <common/common.h>
+#include <common/compat/errno.h>
 #include <common/sessiond-comm/sessiond-comm.h>
 #include <common/fd-handle.h>
 
index 5059f5b9599b4ef8fe78fd225dc6d60301ea588e..bd32337002dc826adf5a6c12262983cf02b30a51 100644 (file)
@@ -9,8 +9,7 @@
 #ifndef _LTTNG_USTCONSUMER_H
 #define _LTTNG_USTCONSUMER_H
 
-#include <errno.h>
-
+#include <common/compat/errno.h>
 #include <common/consumer/consumer.h>
 #include <stdbool.h>
 
index 91108c166b9825227248fa1e7bb00ce59b7ea7c5..9ae3d4174969e666f13ad56cfe8240e3a147d237 100644 (file)
@@ -15,7 +15,6 @@
 #include <sys/types.h>
 #include <stdint.h>
 #include <limits.h>
-#include <errno.h>
 #include <string.h>
 #include <lttng/health-internal.h>
 
@@ -24,6 +23,7 @@
 #include <bin/lttng-relayd/health-relayd.h>
 #include <common/defaults.h>
 #include <common/utils.h>
+#include <common/compat/errno.h>
 
 #include "lttng-ctl-helper.h"
 
index 3f1ab9fdc4bb8f17abe91345355b11f3263d61e2..60e820bd25e4a1089a0854b3bd771ce4f9a85bf6 100644 (file)
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <grp.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 
 #include <common/common.h>
+#include <common/compat/errno.h>
 #include <common/compat/string.h>
 #include <common/defaults.h>
 #include <common/dynamic-buffer.h>
index bfbd842c0e1f2754e367e130b60afec7a36c9c53..4c56deece91321b8d07db210665481acbb46269b 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -31,6 +30,7 @@
 #include <bin/lttng-relayd/lttng-viewer-abi.h>
 #include <common/index/ctf-index.h>
 
+#include <common/compat/errno.h>
 #include <common/compat/endian.h>
 
 #define SESSION1 "test1"
index 364d41895bb78531f61b20a1842bfe4a02960680..90abc11de1215a5d94ed90aa20b4b872ce2a2167 100644 (file)
@@ -21,9 +21,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <signal.h>
-#include <errno.h>
 #include <poll.h>
 
+#include <common/compat/errno.h>
 #include <lttng/action/action.h>
 #include <lttng/action/notify.h>
 #include <lttng/condition/buffer-usage.h>
index fb4e5c0e13ef28b190f29127eaf9d2bf3a3fbffd..473de57a90db560493ffd2a8d8651c4d406a2827 100644 (file)
@@ -8,10 +8,11 @@
 /* _GNU_SOURCE is defined by config.h */
 #include <dlfcn.h>
 #include <stdio.h>
-#include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
 
+#include <common/compat/errno.h>
+
 /*
  * libfoo has a direct dependency on libbar.
  * libbar has a direct dependency on libzzz.
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>
 
index c4248ed813059f5f768e0f013e0fc51ab1d46172..29d50873b99219b81b56d3b10a55277c63eb25da 100644 (file)
@@ -15,7 +15,6 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <stdio.h>
-#include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/stat.h>
@@ -24,6 +23,7 @@
 #include <urcu.h>
 
 #include <common/compat/directory-handle.h>
+#include <common/compat/errno.h>
 #include <common/error.h>
 #include <common/fd-tracker/fd-tracker.h>
 
index 4ce6f6c745b0bdff5820227e1c26d0f7b573bb50..d575d25180fc31748add8778821ad0b3cb6acdb0 100644 (file)
@@ -6,13 +6,13 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <time.h>
 
+#include <common/compat/errno.h>
 #include <bin/lttng-sessiond/trace-kernel.h>
 #include <common/defaults.h>
 
index 2103a8f46634b2a46844625e93a89133f9f04366..676ea316e95ab0784ebb8ee9d3a02fde0d1a72d2 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -17,6 +16,7 @@
 
 #include <tap/tap.h>
 
+#include <common/compat/errno.h>
 #include <bin/lttng-sessiond/session.h>
 #include <bin/lttng-sessiond/ust-app.h>
 #include <bin/lttng-sessiond/ht-cleanup.h>
index 7a0deaecc7ca30df15de87a1dacdb0d5ac85b1d0..ec61ffbad60285d16d2c0e789dd52ec9ea9765ea 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -17,6 +16,7 @@
 #include <lttng/lttng.h>
 #include <bin/lttng-sessiond/lttng-ust-abi.h>
 #include <common/defaults.h>
+#include <common/compat/errno.h>
 #include <bin/lttng-sessiond/trace-ust.h>
 #include <bin/lttng-sessiond/ust-app.h>
 #include <bin/lttng-sessiond/notification-thread.h>
index 46ec61cd092397ea42fb3adbb63e78186de7d20b..d54c6cc99e668965d23349dc40ec11194cf41023 100644 (file)
@@ -8,7 +8,6 @@
 #include <assert.h>
 #include <common/compat/time.h>
 #include <common/time.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <poll.h>
 #include <stdbool.h>
@@ -19,6 +18,8 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+#include <common/compat/errno.h>
+
 #include "utils.h"
 
 static inline
This page took 0.043705 seconds and 4 git commands to generate.