lobase

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

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

usr.bin/sdiff: fix warnings

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

diff --git a/usr.bin/sdiff/edit.c b/usr.bin/sdiff/edit.c @@ -4,6 +4,7 @@ * Written by Raymond Lai <ray@cyth.net>. * Public domain. */ +#define _GNU_SOURCE /* for asprintf */ #include <sys/types.h> #include <sys/wait.h> diff --git a/usr.bin/sdiff/sdiff.c b/usr.bin/sdiff/sdiff.c @@ -4,6 +4,7 @@ * Written by Raymond Lai <ray@cyth.net>. * Public domain. */ +#define _GNU_SOURCE /* for asprintf */ #include <sys/queue.h> #include <sys/stat.h>