Farhan/openssh
Revision | 786d35eb9053c9096f62ca06d7de62618cb4baef (tree) |
---|---|
Time | 2017-10-25 23:25:43 |
Author | Greg Hartman <ghartman@goog...> |
Commiter | Greg Hartman |
Add missing header for new sshd.c setns code
BUG: 68248250
Test: Local build
Change-Id: Iad3990613a1a1b93e6450096a790d23790c28030
@@ -123,6 +123,11 @@ | ||
123 | 123 | #include "version.h" |
124 | 124 | #include "ssherr.h" |
125 | 125 | |
126 | +#if defined(ANDROID_GCE) && defined(GCE_PLATFORM_SDK_VERSION) && GCE_PLATFORM_SDK_VERSION >= 28 | |
127 | +#define GNU_SOURCE | |
128 | +#include <sched.h> | |
129 | +#endif | |
130 | + | |
126 | 131 | /* Re-exec fds */ |
127 | 132 | #define REEXEC_DEVCRYPTO_RESERVED_FD (STDERR_FILENO + 1) |
128 | 133 | #define REEXEC_STARTUP_PIPE_FD (STDERR_FILENO + 2) |