diff options
Diffstat (limited to 'gdb/nat/linux-namespaces.c')
-rw-r--r-- | gdb/nat/linux-namespaces.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c index f18e40d..a7a3e4d 100644 --- a/gdb/nat/linux-namespaces.c +++ b/gdb/nat/linux-namespaces.c @@ -47,6 +47,12 @@ setns (int fd, int nstype) } #endif +/* Handle systems without MSG_CMSG_CLOEXEC. */ + +#ifndef MSG_CMSG_CLOEXEC +#define MSG_CMSG_CLOEXEC 0 +#endif + /* A Linux namespace. */ struct linux_ns |