summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2022-01-18 19:34:41 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2022-01-18 19:34:41 -0500
commit0b6ebc6160f1fd1f6db7c433f0912b5d2845a59c (patch)
tree23c90a8b2233efad4837b563807626ca4cdb14b2
parentc10b783521cf312a29d78aef103b548a3d20e5e0 (diff)
downloadexchange-0b6ebc6160f1fd1f6db7c433f0912b5d2845a59c.tar.gz
exchange-0b6ebc6160f1fd1f6db7c433f0912b5d2845a59c.tar.bz2
exchange-0b6ebc6160f1fd1f6db7c433f0912b5d2845a59c.zip
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.)
-rw-r--r--src/bank-lib/fakebank.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 036fd85a1..11993e558 100644
--- 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"