Fedora Rawhide builds fail without stdlib include

Implicit declarations of malloc, free, atoi, and others are considered an
error now.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2023-12-03 13:59:21 -08:00
parent 8bf8f18962
commit 8e212c0858
12 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,7 @@
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
#include <stdlib.h>
#include "ssrf.h"
#include "dive.h"
#include "divesite.h"