libandroid-glob: Fix building with clang
This commit is contained in:
parent
6abeffb561
commit
899b567d0a
@ -1,6 +1,6 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://man7.org/linux/man-pages/man3/glob.3.html
|
TERMUX_PKG_HOMEPAGE=http://man7.org/linux/man-pages/man3/glob.3.html
|
||||||
TERMUX_PKG_DESCRIPTION="Shared library for the glob(3) system function"
|
TERMUX_PKG_DESCRIPTION="Shared library for the glob(3) system function"
|
||||||
TERMUX_PKG_VERSION=0.2
|
TERMUX_PKG_VERSION=0.3
|
||||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
|
||||||
termux_step_make_install () {
|
termux_step_make_install () {
|
||||||
|
@ -39,11 +39,6 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#ifndef _SIZE_T_DECLARED
|
|
||||||
typedef __size_t size_t;
|
|
||||||
#define _SIZE_T_DECLARED
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct stat;
|
struct stat;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
size_t gl_pathc; /* Count of total paths so far. */
|
size_t gl_pathc; /* Count of total paths so far. */
|
||||||
|
Loading…
Reference in New Issue
Block a user