about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorTim <TronDD@gmail.com>2014-03-11 21:06:14 -0400
committerTim <TronDD@gmail.com>2014-03-11 21:06:14 -0400
commitf6c7ce18f84d83bcc67eaf25ef49de426f1076b8 (patch)
treeffeb5dbcb90a8971493fe6ab99370092a1c46476 /linux
parent0864f6caf7626d6fc4c84f9f0c10f330dff33507 (diff)
downloadxombrero-f6c7ce18f84d83bcc67eaf25ef49de426f1076b8.tar.gz
Fix duplicate definitions in Mavericks
Diffstat (limited to 'linux')
-rw-r--r--linux/util.h4
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);