Fix adb GCC build (for google3).
Allow adb to build using gcc by explicitly using global scope for the type for pollfd. An alternative would be to rename the pollfd field to different, but I did not have a better name in mind. Change-Id: I7925df1dca7e1acc5a289256f228e5fc3755e86e
This commit is contained in:
parent
ff2e26b239
commit
c288d48513
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ int SHELL_EXIT_NOTIFY_FD = -1;
|
|||
|
||||
struct PollNode {
|
||||
fdevent* fde;
|
||||
pollfd pollfd;
|
||||
::pollfd pollfd;
|
||||
|
||||
PollNode(fdevent* fde) : fde(fde) {
|
||||
memset(&pollfd, 0, sizeof(pollfd));
|
||||
|
|
Loading…
Reference in a new issue