commit | 51056c49d2ebc2c4934d303fb810f905d68bba03 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu May 18 09:13:15 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu May 18 09:13:15 2017 -0700 |
tree | a89b3bfd6a1b2662f048b42fa960d5778a38e9fe | |
parent | 9397adabd8edebbc5ba4924d598b4e94e1e9c1c8 [diff] |
init should #include <sys/sysmacros.h> Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: I6428a6344a3ce649bd03ff9e9b0f156425c67f0c
diff --git a/init/devices.cpp b/init/devices.cpp index d8258cf..e0351a3 100644 --- a/init/devices.cpp +++ b/init/devices.cpp
@@ -30,6 +30,7 @@ #include <string.h> #include <sys/sendfile.h> #include <sys/socket.h> +#include <sys/sysmacros.h> #include <sys/time.h> #include <sys/un.h> #include <sys/wait.h>