You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/acl/files/acl-2.2.49-quote-strchr.patch

26 lines
657 B

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