diff -Naur daemon-0.6.4.old/daemon.c daemon-0.6.4/daemon.c
old
|
new
|
|
651 | 651 | #define _NETBSD_SOURCE /* For CEOF, chroot() on NetBSD-5.0.2 */ |
652 | 652 | #endif |
653 | 653 | |
| 654 | #include <config.h> |
| 655 | |
654 | 656 | #include <slack/std.h> |
655 | 657 | |
656 | 658 | #include <pwd.h> |
diff -Naur daemon-0.6.4.old/libslack/str.h daemon-0.6.4/libslack/str.h
old
|
new
|
|
254 | 254 | int oct(const char *str); |
255 | 255 | int strcasecmp(const char *s1, const char *s2); |
256 | 256 | int strncasecmp(const char *s1, const char *s2, size_t n); |
| 257 | |
| 258 | #ifndef HAVE_STRLCPY |
257 | 259 | size_t strlcpy(char *dst, const char *src, size_t size); |
| 260 | #endif |
| 261 | |
| 262 | #ifndef HAVE_STRLCAT |
258 | 263 | size_t strlcat(char *dst, const char *src, size_t size); |
| 264 | #endif |
| 265 | |
259 | 266 | char *cstrcpy(char *dst, const char *src); |
260 | 267 | char *cstrcat(char *dst, const char *src); |
261 | 268 | char *cstrchr(const char *str, int c); |