]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxcutmp.c: Fix typo causing build failure
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 13 Jan 2013 20:29:26 +0000 (15:29 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 13 Jan 2013 20:29:26 +0000 (15:29 -0500)
In a previous change I added an ifdef for HAVE_SYS_TIMERFD_h
rather than HAVE_SYS_TIMERFD_H, leading to a missing include of
sys/timerfd.h on platforms that support it and ultimately to a build
failure.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxcutmp.c

index d00567e59023f9f40e3a5ef98cd73bcc0bd8c040..4e74904ab19a3c2e89eda369a4637eca3c5fc033 100644 (file)
@@ -31,7 +31,7 @@
 #include <fcntl.h>
 #include <sys/inotify.h>
 #include <sys/ioctl.h>
-#ifdef HAVE_SYS_TIMERFD_h
+#ifdef HAVE_SYS_TIMERFD_H
 #include <sys/timerfd.h>
 #else
 #include <sys/syscall.h>