]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Drop sys/cdefs.h include from qsort_r.c
authorMichael Schroeder <mls@suse.de>
Tue, 30 Nov 2021 09:40:37 +0000 (10:40 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 30 Nov 2021 09:43:25 +0000 (10:43 +0100)
The cdefs.h header is not always available, and it gets pulled
in from the stdlib include anyway (at least in openbsd).

src/qsort_r.c

index ffc09dcb6c3fab5d193954b6774458ee124786af..441e94d4782baa2f0dab1e81dde8b8c3ab9eae88 100644 (file)
@@ -37,9 +37,6 @@
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)qsort.c    8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */
-#ifndef _WIN32
-#include <sys/cdefs.h>
-#endif
 
 /* $FreeBSD: src/lib/libc/stdlib/qsort.c,v 1.13.2.1.8.1 2010/12/21 17:10:29 kensmith Exp $ */