From a1665da67db2a305cdfe8fcf7ea5abf461950d4d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 5 Jun 2026 17:31:52 +0200 Subject: [PATCH] configure: drop unused feature checks Also drop an unused macro from `os400/libssh2_config.h`. Closes #1989 --- configure.ac | 2 +- os400/libssh2_config.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2ab1bddd..28ce861e 100644 --- a/configure.ac +++ b/configure.ac @@ -352,7 +352,7 @@ AM_CONDITIONAL([USE_OSSFUZZ_FLAG], [test "x$LIB_FUZZING_ENGINE" = "x-fsanitize=f AM_CONDITIONAL([USE_OSSFUZZ_STATIC], [test -f "$LIB_FUZZING_ENGINE"]) # Checks for header files. -AC_CHECK_HEADERS([errno.h fcntl.h stdio.h unistd.h sys/uio.h]) +AC_CHECK_HEADERS([unistd.h sys/uio.h]) AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/ioctl.h sys/time.h]) AC_CHECK_HEADERS([arpa/inet.h netinet/in.h]) AC_CHECK_HEADERS([sys/un.h]) diff --git a/os400/libssh2_config.h b/os400/libssh2_config.h index f8dd8f65..98488cb1 100644 --- a/os400/libssh2_config.h +++ b/os400/libssh2_config.h @@ -91,9 +91,6 @@ /* use SO_NONBLOCK for non-blocking sockets */ #undef HAVE_SO_NONBLOCK -/* Define to 1 if you have the header file. */ -#define HAVE_STDIO_H 1 - /* Define to 1 if you have the `strtoll' function. */ #define HAVE_STRTOLL 1