diff options
author | Waldemar <wbx@mirbsd.foo.bar> | 2009-12-19 14:25:32 +0059 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-19 14:34:06 +0100 |
commit | 0e40c7b459f3803bb44bca20304389c6999a2770 (patch) | |
tree | 7160ce1b531fc7cfaeeab7a04d5173f6d3fe9f8f /package/busybox/patches/patch-include_libbb_h | |
parent | 5279869f4930b421c7f27223ff2425d974d453f0 (diff) |
add more mirbsd compatibility patches
Diffstat (limited to 'package/busybox/patches/patch-include_libbb_h')
-rw-r--r-- | package/busybox/patches/patch-include_libbb_h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/busybox/patches/patch-include_libbb_h b/package/busybox/patches/patch-include_libbb_h new file mode 100644 index 000000000..0087dbde5 --- /dev/null +++ b/package/busybox/patches/patch-include_libbb_h @@ -0,0 +1,18 @@ +--- busybox-1.15.2.orig/include/libbb.h Thu Oct 8 03:04:16 2009 ++++ busybox-1.15.2/include/libbb.h Sat Dec 19 12:42:57 2009 +@@ -48,6 +48,7 @@ + #define PATH_MAX 256 + #endif + ++#if !(defined __APPLE__ || defined __FreeBSD__ || defined __MirBSD__ ) + #ifdef HAVE_MNTENT_H + #include <mntent.h> + #endif +@@ -61,6 +62,7 @@ + #include <selinux/context.h> + #include <selinux/flask.h> + #include <selinux/av_permissions.h> ++#endif + #endif + + #if ENABLE_LOCALE_SUPPORT |