]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
define s390x signalfd for old headers
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 9 Mar 2009 16:35:51 +0000 (11:35 -0500)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 9 Mar 2009 16:38:17 +0000 (17:38 +0100)
define s390x signalfd for systems with headers which are too
old.

Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/start.c

index 410235c21c38f7ee9d1aaf3d40f5664a10231bab..476d6956e20a17e9a44563839a4269a4357371b6 100644 (file)
@@ -51,6 +51,8 @@
 #      define __NR_signalfd4 327
 #    elif __x86_64__
 #      define __NR_signalfd4 289
+#    elif __s390x__
+#      define __NR_signalfd4 322
 #    endif
 #endif
 
@@ -60,6 +62,8 @@
 #      define __NR_signalfd 321
 #    elif __x86_64__
 #      define __NR_signalfd 282
+#    elif __s390x__
+#      define __NR_signalfd 316
 #    endif
 #endif