summaryrefslogtreecommitdiff
blob: d2510da24eeae1d9d2aab5be0d48b1fa78abbbac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 7565e4fcb9209782ed02f3caff246cf5ea816674 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Fri, 8 Jan 2010 21:28:31 -0500
Subject: [PATCH] quote: pull in string.h for strchr prototype

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 libmisc/quote.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libmisc/quote.c b/libmisc/quote.c
index f98c887..bf8f9eb 100644
--- a/libmisc/quote.c
+++ b/libmisc/quote.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
+#include <string.h>
 #include "misc.h"
 
 const char *quote(const char *str, const char *quote_chars)
-- 
1.6.6