summaryrefslogtreecommitdiff
path: root/package/busybox/patches/patch-include_libbb_h
diff options
context:
space:
mode:
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