gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix FTBFS (Linux) for 2022-01-18


From: gnunet
Subject: [taler-exchange] branch master updated: fix FTBFS (Linux) for 2022-01-18, "use 'pipe' instead of 'eventfd' on non-Linux systems"
Date: Wed, 19 Jan 2022 01:36:11 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 0b6ebc61 fix FTBFS (Linux) for 2022-01-18, "use 'pipe' instead of 
'eventfd' on non-Linux systems"
0b6ebc61 is described below

commit 0b6ebc6160f1fd1f6db7c433f0912b5d2845a59c
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Tue Jan 18 19:34:41 2022 -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.)
---
 src/bank-lib/fakebank.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 036fd85a..11993e55 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"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]