mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
fix: build on alpine linux
This fixes the compile issue that we are having on
alpine.
```
cc wallet/wallet.c
cc wallet/walletrpc.c
cc wallet/reservation.c
cc wallet/db_sqlite3_sqlgen.c
cc wallet/db_postgres_sqlgen.c
cc common/addr.c
cc common/bolt11.c
cc common/bolt11_json.c
cc common/bolt12.c
cc common/configdir.c
cc common/configvar.c
cc common/scb_wiregen.c
common/configvar.c: In function 'configvar_remove':
common/configvar.c:118:9: error: unknown type name 'ssize_t'; did you mean 'size_t'?
118 | ssize_t prev = -1;
| ^~~~~~~
| size_t
make: *** [Makefile:292: common/configvar.o] Error 1
make: *** Waiting for unfinished jobs....
```
Link: https://github.com/ElementsProject/lightning/issues/6321
Reported-by: @gruve-p
Fixes: 36200a6593
Changelog-None
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
parent
05c13ddfc5
commit
53154a40a5
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <ccan/tal/str/str.h>
|
||||
#include <common/configvar.h>
|
||||
#include <common/utils.h>
|
||||
#include <unistd.h>
|
||||
|
||||
struct configvar *configvar_new(const tal_t *ctx,
|
||||
enum configvar_src src,
|
||||
|
|
Loading…
Add table
Reference in a new issue