summaryrefslogtreecommitdiff
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-01-06 20:08:01 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-06 21:44:39 +0100
commitf1731031716368f07797e93cc7ae71e155ac92e0 (patch)
tree52583d608c1e99fe9896fab9ad8fb1e6ee97d9aa /package/busybox/patches
parentd202b06f7b4accdb230822ed6b3c0a5a8fc92917 (diff)
fix build error due to missing includes
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/007-missing-headers.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/patches/007-missing-headers.patch b/package/busybox/patches/007-missing-headers.patch
new file mode 100644
index 000000000..cba28970f
--- /dev/null
+++ b/package/busybox/patches/007-missing-headers.patch
@@ -0,0 +1,10 @@
+--- busybox-1.18.1/include/platform.h~ Mon Dec 20 00:41:03 2010
++++ busybox-1.18.1/include/platform.h Thu Jan 6 20:03:58 2011
+@@ -155,6 +155,7 @@
+ # include <sex.h>
+ #elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
+ || defined(__APPLE__)
++# include <sys/param.h> /* contains needed types for the following */
+ # include <sys/resource.h> /* rlimit */
+ # include <machine/endian.h>
+ # define bswap_64 __bswap64