diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2017-04-12 17:25:21 +0100 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2017-04-12 17:29:20 +0100 |
commit | 57bcba4958fc5f40124d55ab54d1f45751b5d536 (patch) | |
tree | 155033571b586e8e6b304579b29c0531d224bd60 | |
parent | ca608b4c75274661c8123bdb1d0768e952a62a7d (diff) | |
download | powertop-2.0-linaro-o-preview.tar.gz |
glob/glob.c: fix compiling problem with android o previewRLCR-17.10linaro-oreolinaro-o-preview
Change-Id: Ia3de6fcd6a64b7337df17dbf9581720b0d6e75bc
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | .gitreview | 5 | ||||
-rw-r--r-- | glob/glob.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitreview b/.gitreview new file mode 100644 index 0000000..51d328c --- /dev/null +++ b/.gitreview @@ -0,0 +1,5 @@ +[gerrit] +host=android-review.linaro.org +port=29418 +project=platform/external/powertop-2.0 +defaultbranch=linaro-o-preview diff --git a/glob/glob.c b/glob/glob.c index 9108270..e7d1579 100644 --- a/glob/glob.c +++ b/glob/glob.c @@ -41,6 +41,10 @@ __RCSID("$NetBSD: glob.c,v 1.35 2013/03/20 23:44:47 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ +#ifndef __UNCONST +#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a)) +#endif + /* * glob(3) -- a superset of the one defined in POSIX 1003.2. * |