From: Fredrik Fornwall Date: Tue, 17 May 2016 00:15:20 +0000 (-0400) Subject: libandroid-glob: Fix building with clang X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/899b567d0aa44921b967e1d499211e62b95326f1?hp=--cc libandroid-glob: Fix building with clang --- 899b567d0aa44921b967e1d499211e62b95326f1 diff --git a/packages/libandroid-glob/build.sh b/packages/libandroid-glob/build.sh index 8e5d6f1a..58faa5ea 100644 --- a/packages/libandroid-glob/build.sh +++ b/packages/libandroid-glob/build.sh @@ -1,6 +1,6 @@ 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_VERSION=0.2 +TERMUX_PKG_VERSION=0.3 TERMUX_PKG_BUILD_IN_SRC=yes termux_step_make_install () { diff --git a/packages/libandroid-glob/glob.h b/packages/libandroid-glob/glob.h index 1b43a1f4..2dfc4429 100644 --- a/packages/libandroid-glob/glob.h +++ b/packages/libandroid-glob/glob.h @@ -39,11 +39,6 @@ #include #include -#ifndef _SIZE_T_DECLARED -typedef __size_t size_t; -#define _SIZE_T_DECLARED -#endif - struct stat; typedef struct { size_t gl_pathc; /* Count of total paths so far. */