Merge "libc: Fix headers to allow direct inclusion."

This commit is contained in:
David 'Digit' Turner 2014-12-01 16:50:04 +00:00 committed by Gerrit Code Review
commit fabb4282be
3 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,9 @@
#define __ANDROID_DLEXT_H__
#include <stddef.h>
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h> /* for off64_t */
__BEGIN_DECLS

View File

@ -35,6 +35,8 @@
#ifndef _FTS_H_
#define _FTS_H_
#include <sys/types.h>
typedef struct {
struct _ftsent *fts_cur; /* current node */
struct _ftsent *fts_child; /* linked list of children */
@ -111,8 +113,6 @@ typedef struct _ftsent {
char fts_name[1]; /* file name */
} FTSENT;
#include <sys/cdefs.h>
__BEGIN_DECLS
FTSENT *fts_children(FTS *, int);
int fts_close(FTS *);

View File

@ -31,6 +31,7 @@
#include <sys/cdefs.h>
#include <limits.h> /* For PAGE_SIZE. */
#include <stddef.h> /* For size_t. */
__BEGIN_DECLS