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.)
This commit is contained in:
Thien-Thi Nguyen 2022-01-18 19:34:41 -05:00
parent c10b783521
commit 0b6ebc6160
No known key found for this signature in database
GPG Key ID: 670322244C807502

View File

@ -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"