From a214ed824d257b5ab3ea81c8286395e65df81423 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 9 Aug 2022 10:17:57 +0000 Subject: dbus-sysdeps-util-unix.c: Avoid including sys/syslimits.h This header is GCC specific header that on my system just contains `#include_next `. FreeBSD also provides this header but it contains a `#warning` that it should not be used. Replace the one use with `#include ` and drop the configure checks. --- dbus/dbus-sysdeps-util-unix.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dbus') diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c index c4f1b633..baf6b8a2 100644 --- a/dbus/dbus-sysdeps-util-unix.c +++ b/dbus/dbus-sysdeps-util-unix.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #ifdef HAVE_SYS_RESOURCE_H #include @@ -56,10 +57,6 @@ #include #endif -#ifdef HAVE_SYS_SYSLIMITS_H -#include -#endif - #ifdef HAVE_SYSTEMD #include #endif -- cgit v1.2.1