From: Kalev Lember Date: Wed, 1 Feb 2012 07:10:29 +0000 (+0200) Subject: gresource-tool: include sys/mman.h conditionally X-Git-Tag: 2.31.16~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bb201348f7fad556197bec979fc488354ac8a9d;p=platform%2Fupstream%2Fglib.git gresource-tool: include sys/mman.h conditionally It's only needed for code guarded by HAVE_LIBELF, so ifdef the include as well. --- diff --git a/gio/gresource-tool.c b/gio/gresource-tool.c index 58aea8de7..4bbc688bb 100644 --- a/gio/gresource-tool.c +++ b/gio/gresource-tool.c @@ -28,12 +28,12 @@ #include #include #include -#include #include #ifdef HAVE_LIBELF #include #include +#include #endif #include