summaryrefslogtreecommitdiff
path: root/src/util/secmod_common.h
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2022-01-18 09:15:54 -0500
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2022-01-18 09:15:54 -0500
commitc10b783521cf312a29d78aef103b548a3d20e5e0 (patch)
tree6e44fe6468a306bb7280a19e639e58478443cfa6 /src/util/secmod_common.h
parent766a291151e18ff08cfbf7bee0a322588e846cce (diff)
downloadexchange-c10b783521cf312a29d78aef103b548a3d20e5e0.tar.gz
exchange-c10b783521cf312a29d78aef103b548a3d20e5e0.tar.bz2
exchange-c10b783521cf312a29d78aef103b548a3d20e5e0.zip
use 'pipe' instead of 'eventfd' on non-Linux systems
Diffstat (limited to 'src/util/secmod_common.h')
-rw-r--r--src/util/secmod_common.h12
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
};