summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 5a397e7..0b26cdf 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -22,3 +22,15 @@
#cmakedefine ALPHA 1
#cmakedefine PPC 1
#cmakedefine SPARC 1
+
+/* Define strlcat prototype if needed */
+#cmakedefine HAVE_STRLCAT_PROTO
+#if !defined(HAVE_STRLCAT_PROTO)
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ unsigned long strlcat(char*, const char*, unsigned long);
+ #ifdef __cplusplus
+ }
+ #endif
+#endif