commit 0b6ebc6160f1fd1f6db7c433f0912b5d2845a59c
parent c10b783521cf312a29d78aef103b548a3d20e5e0
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Tue, 18 Jan 2022 19:34:41 -0500
fix FTBFS (Linux) for 2022-01-18, "use 'pipe' instead of 'eventfd' on non-Linux systems"
add back #include <sys/eventfd.h>, but conditionalize on #ifdef __linux__
(This fix follows the spirit of the other changes (i.e.,
adding #ifdef __linux__) but might not be the best solution.)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
@@ -26,6 +26,9 @@
#include "platform.h"
#include <pthread.h>
#include <poll.h>
+#ifdef __linux__
+#include <sys/eventfd.h>
+#endif
#include "taler_fakebank_lib.h"
#include "taler_bank_service.h"
#include "taler_mhd_lib.h"