Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix some warnings
[src/app-framework-main.git]
/
src
/
wgtpkg-zip.c
diff --git
a/src/wgtpkg-zip.c
b/src/wgtpkg-zip.c
index
8168fe7
..
4b87a41
100644
(file)
--- a/
src/wgtpkg-zip.c
+++ b/
src/wgtpkg-zip.c
@@
-16,7
+16,7
@@
limitations under the License.
*/
limitations under the License.
*/
-#define _
BSD_SOURCE /* see readdir */
+#define _
DEFAULT_SOURCE
#include <limits.h>
#include <sys/types.h>
#include <limits.h>
#include <sys/types.h>
@@
-353,6
+353,7
@@
int zwrite(const char *zipfile)
#else
#include <sys/wait.h>
#else
#include <sys/wait.h>
+#include <stdlib.h>
extern char **environ;
extern char **environ;