From f6c7ce18f84d83bcc67eaf25ef49de426f1076b8 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 11 Mar 2014 21:06:14 -0400 Subject: Fix duplicate definitions in Mavericks --- linux/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux') diff --git a/linux/util.h b/linux/util.h index cce1453..50d98ff 100644 --- a/linux/util.h +++ b/linux/util.h @@ -20,8 +20,12 @@ #define FPARSELN_UNESCREST 0x08 #define FPARSELN_UNESCALL 0x0f +#if !__has_builtin(strlcpy) size_t strlcpy(char *, const char *, size_t); +#endif +#if !__has_builtin(strlcat) size_t strlcat(char *, const char *, size_t); +#endif char *fgetln(FILE *, size_t *); char *fparseln(FILE *, size_t *, size_t *, const char [3], int); -- cgit 1.4.1-2-gfad0