diff options
Diffstat (limited to 'meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch')
| -rw-r--r-- | meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch b/meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch new file mode 100644 index 0000000000..ccbc236284 --- /dev/null +++ b/meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | commit 235cdd2af498d288f1af1142e7a23fbd16dff907 | ||
| 2 | Author: Mike Frysinger <vapier@gentoo.org> | ||
| 3 | Date: Fri Jan 8 21:53:19 2010 -0500 | ||
| 4 | |||
| 5 | quote: pull in string.h for strchr prototype | ||
| 6 | |||
| 7 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
| 8 | Signed-off-by: Brandon Philips <brandon@ifup.org> | ||
| 9 | |||
| 10 | diff --git a/libmisc/quote.c b/libmisc/quote.c | ||
| 11 | index f98c887..bf8f9eb 100644 | ||
| 12 | --- a/libmisc/quote.c | ||
| 13 | +++ b/libmisc/quote.c | ||
| 14 | @@ -20,6 +20,7 @@ | ||
| 15 | #include <stdio.h> | ||
| 16 | #include <stdlib.h> | ||
| 17 | #include <ctype.h> | ||
| 18 | +#include <string.h> | ||
| 19 | #include "misc.h" | ||
| 20 | |||
| 21 | const char *quote(const char *str, const char *quote_chars) | ||
