[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawk failing on openbsd

From: arnold
Subject: Re: [bug-gawk] gawk failing on openbsd
Date: Mon, 04 Dec 2017 12:56:03 -0700
User-agent: Heirloom mailx 12.4 7/29/08

jungle Boogie <address@hidden> wrote:

> Hi All,
> I last successfully installed gawk on my openBSD machine on the 24th
> of November.
> Today I cannot compile from git master:

Please try this patch and let me know if that fixes the problem.


diff --git a/support/regex.h b/support/regex.h
index 1bbbb26..adddd9e 100644
--- a/support/regex.h
+++ b/support/regex.h
@@ -28,6 +28,10 @@
 #include <sys/types.h>
+#ifndef _LIBC
+#define __USE_GNU      1
 /* Allow the use in C++ code.  */
 #ifdef __cplusplus
 extern "C" {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]