Simplify HAVE_ vs HAVE_REAL_
[darkstat] / bsd.h
1 /* darkstat 3
2 * copyright (c) 2001-2011 Emil Mikulic.
3 *
4 * bsd.h: *BSD compatibility.
5 */
6
7 #include <sys/types.h>
8
9 #include "config.h"
10
11 #ifndef HAVE_STRLCPY
12 size_t strlcpy(char *dst, const char *src, size_t siz);
13 #endif
14
15 #ifndef HAVE_STRLCAT
16 size_t strlcat(char *dst, const char *src, size_t siz);
17 #endif
18
19 #ifndef HAVE_SETPROCTITLE
20 #define setproctitle(fmt, ...) /* no-op */
21 #endif
22
23 /* vim:set ts=3 sw=3 tw=78 expandtab: */