lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit 8364bb76cdbf0db7ac1264532f90b0310fdda362
parent c7570b8fc168601bcd596624b04d0b17c6d0f508
Author: Duncaen <mail@duncano.de>
Date:   Wed,  8 Mar 2017 19:33:13 +0100

usr.bin/dc: fix warnings

Diffstat:
usr.bin/dc/dc.c | 1+
usr.bin/dc/inout.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/usr.bin/dc/dc.c b/usr.bin/dc/dc.c @@ -15,6 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _GNU_SOURCE /* for asprintf */ #include <sys/stat.h> #include <err.h> diff --git a/usr.bin/dc/inout.c b/usr.bin/dc/inout.c @@ -15,6 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _GNU_SOURCE /* for asprintf */ #include <ctype.h> #include <err.h>