From: Florian Forster Date: Sun, 26 Nov 2023 14:27:28 +0000 (+0100) Subject: NUT plugin: import `` before ``. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4169%2Fhead;p=thirdparty%2Fcollectd.git NUT plugin: import `` before ``. --- diff --git a/configure.ac b/configure.ac index 78b18eced..5383e3e2a 100644 --- a/configure.ac +++ b/configure.ac @@ -5836,6 +5836,7 @@ if test "x$with_libupsclient" = "xyes"; then [[ #include #include + #include #include ]] ) @@ -5878,6 +5879,7 @@ if test "x$with_libupsclient" = "xyes"; then for port_arg in 'uint16_t' 'int' ; do AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ +#include #include /* int upscli_splitname(const char *buf, char **upsname, char **hostname, *port); */ ],[ @@ -5909,6 +5911,7 @@ return(res); for size_arg in 'size_t' 'unsigned int' 'int' ; do AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ +#include #include /* int upscli_list_next(UPSCONN_t *ups, numq, const char **query, *numa, char ***answer); */