pkgsrc-wip/netbsd-awk/patches/patch-ab
2009-09-05 18:41:16 +00:00

17 lines
347 B
Text

$NetBSD: patch-ab,v 1.3 2009/09/05 18:41:16 cheusov Exp $
--- run.c.orig 2009-07-13 22:05:39.000000000 +0300
+++ run.c
@@ -37,6 +37,12 @@ THIS SOFTWARE.
#include <string.h>
#include <stdlib.h>
#include <time.h>
+
+#ifdef __GLIBC__
+#include <stdio_ext.h>
+#define fpurge(s) (__fpurge(s), 0)
+#endif
+
#include "awk.h"
#include "awkgram.h"