diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2022-01-18 09:15:54 -0500 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2022-01-18 09:15:54 -0500 |
commit | c10b783521cf312a29d78aef103b548a3d20e5e0 (patch) | |
tree | 6e44fe6468a306bb7280a19e639e58478443cfa6 /src/util/secmod_common.h | |
parent | 766a291151e18ff08cfbf7bee0a322588e846cce (diff) | |
download | exchange-c10b783521cf312a29d78aef103b548a3d20e5e0.tar.xz |
use 'pipe' instead of 'eventfd' on non-Linux systems
Diffstat (limited to 'src/util/secmod_common.h')
-rw-r--r-- | src/util/secmod_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/util/secmod_common.h b/src/util/secmod_common.h index b24e91cb2..304acebdf 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 }; |