diff options
author | Christoph Gysin <christoph.gysin@gmail.com> | 2015-11-25 14:10:21 +0200 |
---|---|---|
committer | Christoph Gysin <christoph.gysin@gmail.com> | 2015-11-25 14:39:09 +0200 |
commit | a99aa92bc6e2a491ea32c7d8ab378a9b55faa945 (patch) | |
tree | bfed5bc55263a82818e3ac2aeb5471efef88928e /include/output.h | |
parent | a642827dfbf68de07c625e7c127efefaa9ac1ae1 (diff) |
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 'include/output.h')
0 files changed, 0 insertions, 0 deletions