From a99aa92bc6e2a491ea32c7d8ab378a9b55faa945 Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Wed, 25 Nov 2015 14:10:21 +0200 Subject: extensions: add missing include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes a compiler warning: ../sway/extensions.c: In function ‘set_background’: ../sway/extensions.c:16:37: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] struct background_config *config = malloc(sizeof(struct background_config)); ^ ../sway/extensions.c:16:37: warning: incompatible implicit declaration of built-in function ‘malloc’ ../sway/extensions.c:16:37: note: include ‘’ or provide a declaration of ‘malloc’ --- sway/extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/extensions.c b/sway/extensions.c index 35a2632e..aa51b474 100644 --- a/sway/extensions.c +++ b/sway/extensions.c @@ -1,3 +1,4 @@ +#include #include #include #include "wayland-desktop-shell-server-protocol.h" -- cgit v1.2.3