patch for opkg_download.c compile abort
[project/opkg-lede.git] / libbb / libbb.h
index 879786ebae3aceab607082d02c9af428fdadd815..619b400d5fe3618fa1aa763cfad0d919769ec74a 100644 (file)
 
 #include <features.h>
 
+#ifndef FALSE
 #define FALSE   ((int) 0)
+#endif
+
+#ifndef TRUE
 #define TRUE    ((int) 1)
+#endif
 
 extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
 extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
@@ -98,7 +103,7 @@ char *deb_extract(const char *package_filename, FILE *out_stream,
                const char *filename, int *err);
 
 extern int unzip(FILE *l_in_file, FILE *l_out_file);
-extern void gz_close(int gunzip_pid);
+extern int gz_close(int gunzip_pid);
 extern FILE *gz_open(FILE *compressed_file, int *pid);
 
 int make_directory (const char *path, long mode, int flags);