Module: monitoring-plugins
 Branch: master
 Commit: ca5c2b3a5fb4e3c2d8024c23a9566f64572c0882
 Author: Alvar Penning <[email protected]>
   Date: Wed Dec 10 21:03:40 2025 +0100
    URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ca5c2b3a

plugins/check_smtp: Remove unnecessary glibc-only include

This library is glibc-only and not necessary at this point. The
getopt_long function is provided by "getopt.h", included via "common.h".

Similar to #2159.

---

 plugins/check_smtp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index e806ad29..e8c35f58 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -37,7 +37,6 @@
 #include "base64.h"
 #include "regex.h"
 
-#include <bits/getopt_ext.h>
 #include <ctype.h>
 #include <string.h>
 #include "check_smtp.d/config.h"

Reply via email to