From: Pádraig Brady
Date: Fri, 3 Mar 2017 08:23:56 +0000 (-0800)
Subject: build: fix libstdbuf build on AIX 7
X-Git-Tag: v8.27~11
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b88e4dd3c6f5cf6e825a5a269669e703408fdb4d;p=thirdparty%2Fcoreutils.git
build: fix libstdbuf build on AIX 7
* src/libstdbuf.c: undef malloc so as libstdbuf is
not linked with gnulib, and anyway the replacement is
never needed since we never malloc(0).
Reported by Assaf Gordon.
---
diff --git a/src/libstdbuf.c b/src/libstdbuf.c
index 2abb0f8ead..e295cc8122 100644
--- a/src/libstdbuf.c
+++ b/src/libstdbuf.c
@@ -20,6 +20,11 @@
#include