CELIX-377: Fixes issue with missing ANDROID defined test
Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/1379a354 Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/1379a354 Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/1379a354 Branch: refs/heads/release/celix-2.0.0 Commit: 1379a3540f2960f01bfb5304bfc1ab9a2261cdb4 Parents: 6425b40 Author: Pepijn Noltes <pepijnnol...@gmail.com> Authored: Fri Oct 7 15:28:06 2016 +0200 Committer: Pepijn Noltes <pepijnnol...@gmail.com> Committed: Fri Oct 7 15:28:06 2016 +0200 ---------------------------------------------------------------------- dfi/private/src/dyn_common.c | 2 +- documents/building/readme.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/1379a354/dfi/private/src/dyn_common.c ---------------------------------------------------------------------- diff --git a/dfi/private/src/dyn_common.c b/dfi/private/src/dyn_common.c index 00c3d3a..ea8f425 100644 --- a/dfi/private/src/dyn_common.c +++ b/dfi/private/src/dyn_common.c @@ -23,7 +23,7 @@ #include <ctype.h> #include <stdbool.h> -#if defined(BSD) || defined(__APPLE__) +#if defined(BSD) || defined(__APPLE__) || defined(ANDROID) #include "open_memstream.h" #include "fmemopen.h" #endif http://git-wip-us.apache.org/repos/asf/celix/blob/1379a354/documents/building/readme.md ---------------------------------------------------------------------- diff --git a/documents/building/readme.md b/documents/building/readme.md index a074e4e..5f11efb 100644 --- a/documents/building/readme.md +++ b/documents/building/readme.md @@ -44,6 +44,7 @@ sudo apt-get install -yq --no-install-recommends \ For Fedora based systems (dnf), the following command should work: ```bash +sudo dnf group install -y "C Development Tools and Libraries" sudo dnf install \ cmake \ ninja-build \ @@ -53,7 +54,8 @@ sudo dnf install \ libcurl-devel \ jansson-devel \ libffi-devel \ - libxml2-devel + libxml2-devel \ + libuuid-devel ``` For OSX systems with brew installed, the following command should work: