mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
extensions: add missing include
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 ‘<stdlib.h>’ or provide a declaration of ‘malloc’
This commit is contained in:
parent
a642827dfb
commit
a99aa92bc6
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
#include <stdlib.h>
|
||||
#include <wlc/wlc.h>
|
||||
#include <wlc/wlc-wayland.h>
|
||||
#include "wayland-desktop-shell-server-protocol.h"
|
||||
|
|
Loading…
Reference in a new issue