From c10b783521cf312a29d78aef103b548a3d20e5e0 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Tue, 18 Jan 2022 09:15:54 -0500 Subject: use 'pipe' instead of 'eventfd' on non-Linux systems --- src/util/secmod_common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/util/secmod_common.h') diff --git a/src/util/secmod_common.h b/src/util/secmod_common.h index b24e91cb..304acebd 100644 --- a/src/util/secmod_common.h +++ b/src/util/secmod_common.h @@ -155,10 +155,22 @@ struct TES_Client */ int csock; +#ifdef __linux__ /** * Event socket. */ int esock; +#else + /** + * Input end of the event pipe. + */ + int esock_in; + + /** + * Output end of the event pipe. + */ + int esock_out; +#endif }; -- cgit v1.2.3