Unified multiple definitions of container_of() macro.
Removed duplicate definitions of the container_of() macro and
refactored sources to use the single implementation.
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>
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 03b1b19..9cf3d68 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -45,6 +45,7 @@
#include "window.h"
#include "shared/cairo-util.h"
#include "shared/config-parser.h"
+#include "shared/helpers.h"
#include "desktop-shell-client-protocol.h"