X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgtpkg-zip.c;h=4b87a41e4ab873d8c92f54020316b2656611c874;hb=df95c86712d96754a4d660e9ddf98bdbad746cf4;hp=8168fe72e25b7cf7bd16c32842569d7ae4830b9d;hpb=36a5034839183d1c49b63e4cbd955004bf46a8b3;p=src%2Fapp-framework-main.git diff --git a/src/wgtpkg-zip.c b/src/wgtpkg-zip.c index 8168fe7..4b87a41 100644 --- a/src/wgtpkg-zip.c +++ b/src/wgtpkg-zip.c @@ -16,7 +16,7 @@ limitations under the License. */ -#define _BSD_SOURCE /* see readdir */ +#define _DEFAULT_SOURCE #include #include @@ -353,6 +353,7 @@ int zwrite(const char *zipfile) #else #include +#include extern char **environ;