From 56a665cd1821529f2f614a90642b1835700bb60b Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Tue, 25 Mar 2025 21:33:50 -0400 Subject: [PATCH] chore: remove unused define HAVE_SYS_UTSNAME_H --- cmake/Libraries.cmake | 1 - src/lib/Config.h.in | 3 --- 2 files changed, 4 deletions(-) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index 87f1bfdeb..f95203330 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -92,7 +92,6 @@ macro(configure_unix_libs) check_include_files(sys/select.h HAVE_SYS_SELECT_H) check_include_files(sys/socket.h HAVE_SYS_SOCKET_H) check_include_files(sys/time.h HAVE_SYS_TIME_H) - check_include_files(sys/utsname.h HAVE_SYS_UTSNAME_H) check_include_files(unistd.h HAVE_UNISTD_H) check_include_files(wchar.h HAVE_WCHAR_H) diff --git a/src/lib/Config.h.in b/src/lib/Config.h.in index 3ecdbe253..4a94ca675 100644 --- a/src/lib/Config.h.in +++ b/src/lib/Config.h.in @@ -46,9 +46,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@ -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_SYS_UTSNAME_H @HAVE_SYS_UTSNAME_H@ - /* Define to 1 if you have the header file. */ #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@