ports/net-mgmt/monitoring-plugins/files/patch-plugins_check__swap.c
Jochen Neumeister 9192049d9e net-mgmt/monitoring-plugins: Fix a problem with NLS
there was an error with the build when NLS is set, see
https://github.com/monitoring-plugins/monitoring-plugins/issues/1853

PR:	269922
Reported by:	Tom Weustink <t.weustink@outlook.com>
Sponsored by:	Netzkommune GmbH
2023-03-19 10:27:13 +01:00

12 lines
374 B
C

--- plugins/check_swap.c.orig 2023-03-19 09:10:16.525073000 +0100
+++ plugins/check_swap.c 2023-03-19 09:10:31.862180000 +0100
@@ -34,9 +34,6 @@ const char *email = "devel@monitoring-plugins.org";
#include "common.h"
#include "popen.h"
#include "utils.h"
-#include <string.h>
-#include <math.h>
-#include <libintl.h>
#ifdef HAVE_DECL_SWAPCTL
# ifdef HAVE_SYS_PARAM_H