|
From: | Herman ten Brugge |
Subject: | Re: [Tinycc-devel] Fwd: [PATCH] freebsd support update proposal |
Date: | Tue, 8 Feb 2022 19:02:46 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
David CARLIER wrote:
Hi if nobody objects, I may apply the last aforementioned patch
sometime next week.
Since you asked:
--- a/tests/tests2/46_grep.c
+++ b/tests/tests2/46_grep.c
@@ -14,6 +14,9 @@
* included and reference made to the fact that reproduction
* privileges were granted by DECUS.
*/
+#if defined(__FreeBSD__)
+#include <sys/cdefs.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h> // tolower()
- what is this (nobody will know without a comment)
- sys/cdefs.h is not that a user file should include
- 46_grep.c looks really "innocent" enough that it should compile
OOTB on any C and platform
- in general, when tests fail, we want the problem be fixed, not the test
Maybe you can find a better solution, or maybe someone else can...
-- gr
Kind regards.
[Prev in Thread] | Current Thread | [Next in Thread] |