diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bbs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/bbs.h b/include/bbs.h index 87b038a7..600ad781 100644 --- a/include/bbs.h +++ b/include/bbs.h @@ -58,8 +58,12 @@ #ifdef Linux #include <sys/param.h> #include <limits.h> - #define strlcpy(a,b,c) strncpy(a,b,c) - #define strlcat(a,b,c) strncat(a,b,c) + #include <sys/file.h> // for flock() + size_t + strlcpy(char *dst, const char *src, size_t size); + + size_t + strlcat(char *dst, const char *src, size_t size); #endif #endif /* INCLUDE_BBS_H */ |