From 8c8eeaf795e4cca87f225ffef434db8edb5453e8 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Mon, 12 Oct 2020 23:26:52 +0200 Subject: [PATCH] Fix a [missingInclude] "information" when running cppcheck --check-config This is for consistency with other source fils, but gcc finds the include file anyway (see https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html) Fixes: rotators/amsat/if100.c:38:0: information: Include file: "math.h" not found. [missingInclude] --- rotators/amsat/if100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotators/amsat/if100.c b/rotators/amsat/if100.c index 60d65898d..91e445cb2 100644 --- a/rotators/amsat/if100.c +++ b/rotators/amsat/if100.c @@ -26,6 +26,7 @@ #include #include /* String function definitions */ #include /* UNIX standard function definitions */ +#include #ifdef HAVE_SYS_IOCTL_H # include @@ -35,7 +36,6 @@ #include "parallel.h" #include "misc.h" #include "register.h" -#include "math.h" static int if100_set_position(ROT *rot, azimuth_t az, elevation_t el)