diff options
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index c2e0b90..e5fa2c8 100644 --- a/calmwm.h +++ b/calmwm.h @@ -21,11 +21,24 @@ #ifndef _CALMWM_H_ #define _CALMWM_H_ +#include <sys/param.h> +#include <stdio.h> +#include "queue.h" + /* prototypes for portable-included functions */ char *fgetln(FILE *, size_t *); long long strtonum(const char *, long long, long long, const char **); -size_t strlcpy(char *, const char *, size_t); + +#ifdef strlcat +#define HAVE_STRLCAT +#else size_t strlcat(char *, const char *, size_t); +#endif +#ifdef strlcpy +#define HAVE_STRLCPY +#else +size_t strlcpy(char *, const char *, size_t); +#endif #include <X11/XKBlib.h> #include <X11/Xatom.h> |