aboutsummaryrefslogtreecommitdiffstats
path: root/tools/config.h.in
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-03-15 13:15:43 +0000
committerIan Campbell <ian.campbell@citrix.com>2013-04-11 11:09:25 +0100
commitb073e110e81bc16d17d4d0bcc40f0137685bbf39 (patch)
treec20e05cfeaca7728a9a80883bd5fcf1951460953 /tools/config.h.in
parent1cc48e865b2faa3f8147c15fcec4c24c46b3d63f (diff)
downloadxen-b073e110e81bc16d17d4d0bcc40f0137685bbf39.tar.gz
xen-b073e110e81bc16d17d4d0bcc40f0137685bbf39.tar.bz2
xen-b073e110e81bc16d17d4d0bcc40f0137685bbf39.zip
blktap2: use sys/eventfd.h if it is available
arm64 only has the eventfd2 system call and using the libc wrapper when available hides this from us. eventfd() has been in libc since glibc 2.8. This code is already Linux specific. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/config.h.in')
-rw-r--r--tools/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/config.h.in b/tools/config.h.in
index 08e337a1f5..a67910b57d 100644
--- a/tools/config.h.in
+++ b/tools/config.h.in
@@ -27,6 +27,9 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
+/* Define to 1 if you have the <sys/eventfd.h> header file. */
+#undef HAVE_SYS_EVENTFD_H
+
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H