summaryrefslogtreecommitdiff
path: root/package/busybox/patches/patch-include_platform_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/patch-include_platform_h')
-rw-r--r--package/busybox/patches/patch-include_platform_h30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/busybox/patches/patch-include_platform_h b/package/busybox/patches/patch-include_platform_h
deleted file mode 100644
index 307c588ec..000000000
--- a/package/busybox/patches/patch-include_platform_h
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Nur busybox-1.17.0.orig/include/platform.h busybox-1.17.0/include/platform.h
---- busybox-1.17.0.orig/include/platform.h 2010-06-24 04:40:43.000000000 +0200
-+++ busybox-1.17.0/include/platform.h 2010-07-08 12:15:16.099001527 +0200
-@@ -20,6 +20,8 @@
- #define HAVE_STRSIGNAL 1
- #define HAVE_VASPRINTF 1
-
-+#include <sys/param.h>
-+
- /* Convenience macros to test the version of gcc. */
- #undef __GNUC_PREREQ
- #if defined __GNUC__ && defined __GNUC_MINOR__
-@@ -161,7 +163,7 @@
- # define bswap_32 __bswap32
- # define bswap_16 __bswap16
- # define __BIG_ENDIAN__ (_BYTE_ORDER == _BIG_ENDIAN)
--#elif !defined __APPLE__
-+#elif !(defined __APPLE__ || defined BSD)
- # include <byteswap.h>
- # include <endian.h>
- #endif
-@@ -230,7 +232,7 @@
- /* ---- Compiler dependent settings ------------------------- */
-
- #if (defined __digital__ && defined __unix__) \
-- || defined __APPLE__ || defined __FreeBSD__
-+ || defined __APPLE__ || defined __FreeBSD__ || defined BSD
- # undef HAVE_MNTENT_H
- # undef HAVE_SYS_STATFS_H
- #else