diff options
author | Tim <TronDD@gmail.com> | 2014-03-11 21:06:14 -0400 |
---|---|---|
committer | Tim <TronDD@gmail.com> | 2014-03-11 21:06:14 -0400 |
commit | f6c7ce18f84d83bcc67eaf25ef49de426f1076b8 (patch) | |
tree | ffeb5dbcb90a8971493fe6ab99370092a1c46476 | |
parent | 0864f6caf7626d6fc4c84f9f0c10f330dff33507 (diff) | |
download | xombrero-f6c7ce18f84d83bcc67eaf25ef49de426f1076b8.tar.gz |
Fix duplicate definitions in Mavericks
-rw-r--r-- | linux/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |