The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3506
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From 07002a08c1b5b1c9bc86029275164222c7b8943a Mon Sep 17 00:00:00 2001 From: Christian Brauner <christian.brau...@ubuntu.com> Date: Wed, 5 Aug 2020 16:44:53 +0200 Subject: [PATCH] macro: define TIOCGPTPEER if missing Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> --- src/lxc/macro.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lxc/macro.h b/src/lxc/macro.h index 5155f7b162..d6b9954e8d 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -504,4 +504,12 @@ enum { typeof(&*(x))), \ sizeof(x) / sizeof((x)[0]), ((void)0))) +#ifndef TIOCGPTPEER + #if defined __sparc__ + #define TIOCGPTPEER _IO('t', 137) + #else + #define TIOCGPTPEER _IO('T', 0x41) + #endif +#endif + #endif /* __LXC_MACRO_H */
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel