Author: Apollon Oikonomopoulos <apoikos@debian.org>
Description: Search for eventfd.h in /usr/include/<triplet>

Last-Update: 2016-01-19
Forwarded: no (Debian-specific)
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -25,7 +25,7 @@
 CFLAGS += -DUSE_SYSTEMD
 endif
 
-ifneq ($(shell test -e /usr/include/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
+ifneq ($(shell test -e /usr/include/$(DEB_HOST_MULTIARCH)/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
 CFLAGS += -DUSE_EVENTFD
 TGTD_OBJS += bs_aio.o
 LIBS += -laio
