summaryrefslogtreecommitdiff
path: root/package/toybox/patches/patch-lib_lib_h
blob: 0697acb22c97785330d6cc28448fa893a34d5481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- toybox-0.7.1.orig/lib/lib.h	2016-06-01 00:33:23.000000000 +0200
+++ toybox-0.7.1/lib/lib.h	2016-10-16 12:33:42.000000000 +0200
@@ -201,7 +201,9 @@ int qstrcmp(const void *a, const void *b
 void create_uuid(char *uuid);
 char *show_uuid(char *uuid);
 char *next_printf(char *s, char **start);
+#ifndef __APPLE__
 char *strnstr(char *line, char *str);
+#endif
 int dev_minor(int dev);
 int dev_major(int dev);
 int dev_makedev(int major, int minor);