From: Jérémie Galarneau Date: Wed, 12 Apr 2023 18:53:37 +0000 (-0400) Subject: Build fix: common: eventfd only exists on Linux X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=f053e8372b4870e88b9eacf63a69c32c0c878aea;hp=f053e8372b4870e88b9eacf63a69c32c0c878aea;p=lttng-tools.git Build fix: common: eventfd only exists on Linux The project fails to build on non-Linux platforms since eventfd is a Linux-exclusive facility. From the project's point of view, the eventfd util belongs in libcommon. However, we will need to write a wrapper if it ends up being used on non-Linux platform. For the moment, exclude it from the internal libcommon sources when building on non-Linux platforms as it is only used on the session daemon. Signed-off-by: Jérémie Galarneau Change-Id: If528ac522d72a95e87a4f496531ea679a81030a2 ---