summaryrefslogtreecommitdiff
path: root/package/busybox/patches/patch-include_libbb_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-19 18:33:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-19 18:33:32 +0100
commit98e07066854de558bb5651b7305d2da527048d0b (patch)
tree38a598508fbf7d525de0c8ab7454081042af347c /package/busybox/patches/patch-include_libbb_h
parent25631be7315cdddc0cf2ea273f3e06332128d36d (diff)
parent0102d12701a8634300c4b174e5bbeb898218ba18 (diff)
Merge branch 'master' of openadk.org:/git/openadk
Diffstat (limited to 'package/busybox/patches/patch-include_libbb_h')
-rw-r--r--package/busybox/patches/patch-include_libbb_h18
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