Merge "Remove bogus transitive includes."

This commit is contained in:
Elliott Hughes 2014-12-29 21:52:03 +00:00 committed by Gerrit Code Review
commit 9b6164ca8d
16 changed files with 14 additions and 2 deletions

View file

@ -15,6 +15,7 @@
*/
#include <cutils/trace.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -29,6 +29,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
int chown(const char* path, uid_t uid, gid_t gid) {
return fchownat(AT_FDCWD, path, uid, gid, 0);

View file

@ -29,6 +29,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
int lchown(const char* path, uid_t uid, gid_t gid) {
return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW);

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <sys/poll.h>
#include <sys/select.h>

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <pthread.h>
#include <signal.h>

View file

@ -29,6 +29,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
ssize_t readlink(const char* path, char* buf, size_t size) {
return readlinkat(AT_FDCWD, path, buf, size);

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <signal.h>
int sigaddset(sigset_t* set, int signum) {

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <signal.h>
int sigdelset(sigset_t* set, int signum) {

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <signal.h>
int sigemptyset(sigset_t* set) {

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <signal.h>
int sigfillset(sigset_t* set) {

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <signal.h>
int sigismember(const sigset_t* set, int signum) {

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <termios.h>
#include <unistd.h>

View file

@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/time.h>

View file

@ -35,7 +35,6 @@
#include <linux/fcntl.h>
#include <linux/stat.h>
#include <linux/uio.h>
#include <unistd.h> /* this is not required, but makes client code much happier */
__BEGIN_DECLS

View file

@ -30,7 +30,6 @@
#define _SIGNAL_H_
#include <asm/sigcontext.h>
#include <errno.h>
#include <limits.h>
#include <machine/pthread_types.h>
#include <machine/timespec.h>

View file

@ -0,0 +1 @@
#include <sys/select.h>