Fix headers to be included alone

Change-Id: I7eb9a6ed51b938506d440b91e6b3d42daf817fd7
This commit is contained in:
Andrew Hsieh
2014-11-17 09:54:27 +08:00
parent d3ab539366
commit b6f18dba42
6 changed files with 9 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#ifndef __gl2ext_h_
#define __gl2ext_h_ 1
#include <GLES2/gl2.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -19,6 +19,7 @@
#include <stddef.h>
#include <sys/cdefs.h>
#include <stdint.h>
__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 */

View File

@@ -29,6 +29,8 @@
#ifndef _SGIDEFS_H_
#define _SGIDEFS_H_
#ifdef __mips__
#include <asm/sgidefs.h>
#endif
#endif /* _SGIDEFS_H_ */

View File

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

View File

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