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

@ -9,6 +9,7 @@
#include <unistd.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include "dive.h"
#include "deco.h"
#include "units.h"