Commit | Line | Data |
---|---|---|
7f31bd25 JN |
1 | Avoid including sys/prctl.h on the Hurd. |
2 | ||
3 | Upstream status: Not submitted. | |
4 | ||
5 | --- shadow-4.8.1/libmisc/idmapping.c.orig 2020-03-07 16:32:05.000000000 -0500 | |
6 | +++ shadow-4.8.1/libmisc/idmapping.c 2020-03-07 16:32:27.000000000 -0500 | |
7 | @@ -36,8 +36,8 @@ | |
8 | #include <stdio.h> | |
9 | #include "prototypes.h" | |
10 | #include "idmapping.h" | |
11 | -#include <sys/prctl.h> | |
12 | #if HAVE_SYS_CAPABILITY_H | |
13 | +#include <sys/prctl.h> | |
14 | #include <sys/capability.h> | |
15 | #endif | |
16 |