summaryrefslogtreecommitdiff
path: root/src/wayland-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland-util.h')
-rw-r--r--src/wayland-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wayland-util.h b/src/wayland-util.h
index fa5c6c5..8447640 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -30,6 +30,7 @@ extern "C" {
#include <math.h>
#include <stddef.h>
#include <inttypes.h>
+#include <stdarg.h>
/* GCC visibility */
#if defined(__GNUC__) && __GNUC__ >= 4
@@ -203,6 +204,8 @@ static inline wl_fixed_t wl_fixed_from_int(int i)
return i * 256;
}
+typedef void (*wl_log_func_t)(const char *, va_list);
+
#ifdef __cplusplus
}
#endif