summaryrefslogtreecommitdiffstats
path: root/include/osdep.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-27 14:26:11 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-27 14:26:11 +0800
commitc17b1ec0c4c66cbe2761fa0e8c83831e6258d11d (patch)
tree21e0d184cdf9f58095dce3c486522e2266449391 /include/osdep.h
parent3e774d4829229f4132e3b6895b572a117f60c99d (diff)
downloadpttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.tar
pttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.tar.gz
pttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.tar.bz2
pttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.tar.lz
pttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.tar.xz
pttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.tar.zst
pttbbs-c17b1ec0c4c66cbe2761fa0e8c83831e6258d11d.zip
- (internal) move UTIL_C API from mbbsd/stuff to cmbbs.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/osdep.h')
-rw-r--r--include/osdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osdep.h b/include/osdep.h
index 351d55af..89cb1edb 100644
--- a/include/osdep.h
+++ b/include/osdep.h
@@ -61,5 +61,12 @@
#define Signal (signal)
#endif
+#ifdef NEED_STRLCPY
+ size_t strlcpy(char *dst, const char *src, size_t size);
+#endif
+#ifdef NEED_STRLCAT
+ size_t strlcat(char *dst, const char *src, size_t size);
+#endif
+
#endif