about summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 8ceba9e..349101b 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -21,6 +21,18 @@
 #ifndef _CALMWM_H_
 #define _CALMWM_H_
 
+/* ugly stuff */
+#ifndef TAILQ_END
+#define TAILQ_END(head) NULL
+#endif
+#ifndef __dead
+#define __dead
+#endif
+char *fgetln(FILE *, size_t *);
+long long strtonum(const char *, long long, long long, const char **);
+size_t strlcpy(char *, const char *, size_t);
+size_t strlcat(char *, const char *, size_t);
+
 #include <X11/XKBlib.h>
 #include <X11/Xatom.h>
 #include <X11/Xft/Xft.h>