summaryrefslogtreecommitdiff
path: root/src/compositor-wayland.c
diff options
context:
space:
mode:
authorJon Cruz <jonc@osg.samsung.com>2015-06-15 15:37:08 -0700
committerBryce Harrington <bryce@osg.samsung.com>2015-06-15 17:11:45 -0700
commit35b2eaa989e4960501943c0753e2d5a3e687db92 (patch)
treed8f0f0b2304e22d18f1aae4496c8bb803188f438 /src/compositor-wayland.c
parent4678bab13ce29b02363abfa40fd78cf94e107e8b (diff)
downloadweston-35b2eaa989e4960501943c0753e2d5a3e687db92.tar.gz
Moved helper macro to a discrete include file.
To help reduce code duplication and also 'kitchen-sink' includes the ARRAY_LENGTH macro was moved to a stand-alone file and referenced from the sources consuming it. Other macros will be added in subsequent passes. Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src/compositor-wayland.c')
-rw-r--r--src/compositor-wayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 46105527..ab738535 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -42,6 +42,7 @@
#include "compositor.h"
#include "gl-renderer.h"
#include "pixman-renderer.h"
+#include "shared/helpers.h"
#include "shared/image-loader.h"
#include "shared/os-compatibility.h"
#include "shared/cairo-util.h"