From: Michael Schroeder Date: Tue, 30 Nov 2021 09:40:37 +0000 (+0100) Subject: Drop sys/cdefs.h include from qsort_r.c X-Git-Tag: 0.7.21~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c90979fa25c70b3bd204aaca946a3708f76d7e34;p=thirdparty%2Flibsolv.git Drop sys/cdefs.h include from qsort_r.c The cdefs.h header is not always available, and it gets pulled in from the stdlib include anyway (at least in openbsd). --- diff --git a/src/qsort_r.c b/src/qsort_r.c index ffc09dcb..441e94d4 100644 --- a/src/qsort_r.c +++ b/src/qsort_r.c @@ -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 -#endif /* $FreeBSD: src/lib/libc/stdlib/qsort.c,v 1.13.2.1.8.1 2010/12/21 17:10:29 kensmith Exp $ */