chiark / gitweb /
cgi-fcgi-perl: wip, computes socket path
[chiark-utils.git] / cprogs / common.h
index ca0609bb4f95d3650941d17481576723a8a8d588..a7a2cdd79251a16ad81978f159aeedd1efb4cbd5 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 char *m_vasprintf(const char *fmt, va_list al);
 char *m_asprintf(const char *fmt, ...);
@@ -38,4 +39,6 @@ char *m_asprintf(const char *fmt, ...);
 void common_die(const char *what);
 void common_diee(const char *what); /* prints errno */
 
+void *xmalloc(size_t sz);
+
 #endif /*COMMON_H*/