{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1743543136,"commit_time":1743635539,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"87168807b215b83141220b34ebb30a3e51e61770","message":"eventfd: fix feature guards\n\nEnable eventfd code consistently when both `HAVE_EVENTFD` and\n`HAVE_SYS_EVENTFD_H` macros are defined.\n\nBefore this patch `HAVE_EVENTFD` guarded it alone, though the code\nalso required the header, which was guarded by `HAVE_SYS_EVENTFD_H`.\n\nThese should normally be detected in pairs. When they aren't, omit using\n`eventfd()` to avoid calling it without a known matching header.\n\nIf this disables valid cases (e.g. some system declares this function\nvia a different header), feature detection and the code may be extended\nfor those cases. If these are known to come in pairs, always, another\noption is detect them both at build stage, and forward a single macro\nto C.\n\nReported-by: Abhinav Singhal\nBug: https://curl.se/mail/lib-2025-04/0000.html\nCloses #16909\n","parents":["22352e627da60fc1b3965f4aa95ef5219a9df845"],"tree_hash":"d4e598c87b51cd34f2c4e9f751ac19ee413465eb"}