diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2020-08-04 13:31:38 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-08-05 20:20:43 +0200 |
commit | 70febec565507524921c099658a4b2b5d878cc28 (patch) | |
tree | 1f74ebd8b6c2ed7fa48143f038cec88dc42f0e6e /package/toybox/patches/patch-lib_portability_h | |
parent | 7ff823f93819a6cf01708f67032ca83c2684e094 (diff) |
toybox: update to latest
Diffstat (limited to 'package/toybox/patches/patch-lib_portability_h')
-rw-r--r-- | package/toybox/patches/patch-lib_portability_h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/toybox/patches/patch-lib_portability_h b/package/toybox/patches/patch-lib_portability_h deleted file mode 100644 index 25c24d19c..000000000 --- a/package/toybox/patches/patch-lib_portability_h +++ /dev/null @@ -1,22 +0,0 @@ ---- toybox-0.7.1.orig/lib/portability.h 2016-06-01 00:33:23.000000000 +0200 -+++ toybox-0.7.1/lib/portability.h 2016-10-16 12:32:11.000000000 +0200 -@@ -22,7 +22,9 @@ - - // This isn't in the spec, but it's how we determine what libc we're using. - -+#ifndef __APPLE__ - #include <features.h> -+#endif - - // Types various replacement prototypes need - #include <sys/types.h> -@@ -211,7 +213,9 @@ ssize_t getline(char **lineptr, size_t * - - // Linux headers not listed by POSIX or LSB - #include <sys/mount.h> -+#ifndef __APPLE__ - #include <sys/swap.h> -+#endif - - // Android is missing some headers and functions - // "generated/config.h" is included first |