X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/963c71a042189b29b82e9684686f2ea8413e48ce..50fe92783ec33c56680822bf4c5b462844f20f85:/tools/mkimage/src/mkimage.c diff --git a/tools/mkimage/src/mkimage.c b/tools/mkimage/src/mkimage.c index 67123d934..7c0432bad 100644 --- a/tools/mkimage/src/mkimage.c +++ b/tools/mkimage/src/mkimage.c @@ -19,6 +19,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */ +#ifdef __APPLE__ +#define __FreeBSD__ 10 +#endif #include #include @@ -35,8 +38,8 @@ #if defined(__BEOS__) || defined(__NetBSD__) || defined(__APPLE__) #include +#include #endif - #ifdef __WIN32__ typedef unsigned int __u32; @@ -139,6 +142,7 @@ table_entry_t comp_name[] = { { IH_COMP_NONE, "none", "uncompressed", }, { IH_COMP_BZIP2, "bzip2", "bzip2 compressed", }, { IH_COMP_GZIP, "gzip", "gzip compressed", }, + { IH_COMP_LZMA, "lzma", "lzma compressed", }, { -1, "", "", }, };