From 5d0b2befa11e7fba7c435cc20e3de2774378e5cd Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Wed, 26 Feb 2025 17:59:58 +0000 Subject: [PATCH] geo_simpletags.c: Cleanup headers. - Add stdlib.h for calloc, free, and malloc - Add string.h for memcpy and strlen - Removed unused geo_keyp.h. It was being used for the above 2 includes --- libgeotiff/geo_simpletags.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libgeotiff/geo_simpletags.c b/libgeotiff/geo_simpletags.c index 7f6e599..3b62a9d 100644 --- a/libgeotiff/geo_simpletags.c +++ b/libgeotiff/geo_simpletags.c @@ -25,11 +25,13 @@ * *****************************************************************************/ +#include +#include + #include "geotiff.h" /* public GTIFF interface */ #include "geo_simpletags.h" #include "geo_tiffp.h" /* Private TIFF interface */ -#include "geo_keyp.h" /* Private GTIFF interface */ static int ST_TypeSize( int st_type );