summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7602628)
raw | patch | inline | side by side (parent: 7602628)
author | David 'Digit' Turner <digit@google.com> | |
Tue, 18 Nov 2014 11:21:55 +0000 (12:21 +0100) | ||
committer | David 'Digit' Turner <digit@google.com> | |
Mon, 1 Dec 2014 14:44:24 +0000 (15:44 +0100) |
These headers are missing a few #includes to allow their direct
inclusion from C
http://b.android.com/79841
Change-Id: Ifc712c17f4da70b26adb67d4d49ed659f53c3621
inclusion from C
http://b.android.com/79841
Change-Id: Ifc712c17f4da70b26adb67d4d49ed659f53c3621
libc/include/android/dlext.h | patch | blob | history | |
libc/include/fts.h | patch | blob | history | |
libc/include/sys/user.h | patch | blob | history |
index f27e4e5ab171e2c4d73e707758a4c3db041fc347..90daf30eb4aca40dceafc2a495dbd94502130726 100644 (file)
#define __ANDROID_DLEXT_H__
#include <stddef.h>
+#include <stdint.h>
#include <sys/cdefs.h>
+#include <sys/types.h> /* for off64_t */
__BEGIN_DECLS
diff --git a/libc/include/fts.h b/libc/include/fts.h
index da26a8823ee0da2dbd07bbf78292095f3876bcc2..cde0349ba4d88d8d839ad97d3a4d7dcec279eae1 100644 (file)
--- a/libc/include/fts.h
+++ b/libc/include/fts.h
#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 */
char fts_name[1]; /* file name */
} FTSENT;
-#include <sys/cdefs.h>
-
__BEGIN_DECLS
FTSENT *fts_children(FTS *, int);
int fts_close(FTS *);
index 0e368250fc21684bcec14929d02a7389e0042f35..b370add7f692a3f93a0e82af321dd55cc4bbf096 100644 (file)
--- a/libc/include/sys/user.h
+++ b/libc/include/sys/user.h
#include <sys/cdefs.h>
#include <limits.h> /* For PAGE_SIZE. */
+#include <stddef.h> /* For size_t. */
__BEGIN_DECLS