Add missing includes.
Leaky header cleanup in libc++ means we don't get unistd.h transitively any more. Change-Id: I596c24eff418302b19afab6ad3caa55f52241e7c
This commit is contained in:
parent
5a1f9a3ef0
commit
af9ba4dc6c
2 changed files with 6 additions and 4 deletions
|
|
@ -1,12 +1,13 @@
|
|||
// TODO: replace this with a shell/python script.
|
||||
|
||||
/* a simple test program, connects to ADB server, and opens a track-devices session */
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <memory.h>
|
||||
#include <netdb.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <base/file.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <selinux/selinux.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue