aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2017-03-28 14:12:48 -0400
committerGreg Hudson <ghudson@mit.edu>2017-03-29 11:37:48 -0400
commitb0f2388874372de5e760b735f665839622286374 (patch)
tree6d86e416b9523b9eceeb7d3c0a8a5a2b59d6ec8b /src/util
parente8e1d841f8e43e4f441b451d91333a01e43c1b6f (diff)
downloadkrb5-b0f2388874372de5e760b735f665839622286374.zip
krb5-b0f2388874372de5e760b735f665839622286374.tar.gz
krb5-b0f2388874372de5e760b735f665839622286374.tar.bz2
Compile less libev code
In verto-k5ev.c, turn off optional watchers in ev.c, and enable the specific watcher types we use.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/verto/verto-k5ev.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/verto/verto-k5ev.c b/src/util/verto/verto-k5ev.c
index 74fa368..713c4f2 100644
--- a/src/util/verto/verto-k5ev.c
+++ b/src/util/verto/verto-k5ev.c
@@ -41,7 +41,12 @@
/* Avoid using clock_gettime, which would create a dependency on librt. */
#define EV_USE_MONOTONIC 0
#define EV_USE_REALTIME 0
-#define EV_FEATURES 0x5f /* Everything but back ends */
+#define EV_FEATURES 0x4f /* No back ends or optional watchers */
+/* Enable the optional watcher types we use. */
+#define EV_IDLE_ENABLE 1
+#define EV_SIGNAL_ENABLE 1
+#define EV_CHILD_ENABLE 1
+/* Enable the back ends we want. */
#ifdef HAVE_POLL_H
#define EV_USE_POLL 1
#endif