diff options
author | 2015-11-25 14:10:21 +0200 | |
---|---|---|
committer | 2015-11-25 14:39:09 +0200 | |
commit | a99aa92bc6e2a491ea32c7d8ab378a9b55faa945 (patch) | |
tree | bfed5bc55263a82818e3ac2aeb5471efef88928e /CMake | |
parent | Merge pull request #253 from sce/add_sibling_handle_floating_alt1 (diff) | |
download | sway-a99aa92bc6e2a491ea32c7d8ab378a9b55faa945.tar.gz sway-a99aa92bc6e2a491ea32c7d8ab378a9b55faa945.tar.zst sway-a99aa92bc6e2a491ea32c7d8ab378a9b55faa945.zip |
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’
Diffstat (limited to 'CMake')
0 files changed, 0 insertions, 0 deletions