summaryrefslogtreecommitdiffstats
path: root/usr.bin/basename
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-24 19:41:18 +0000
committerdd <dd@FreeBSD.org>2001-06-24 19:41:18 +0000
commit84f4d732c89abc03206b2d4ee238aae4c766d6e1 (patch)
treee5d0ffb6287d22728c56821f0fea346294beb466 /usr.bin/basename
parent953ac95a7db46a16c9b2097ab970fe255ccc83b0 (diff)
downloadFreeBSD-src-84f4d732c89abc03206b2d4ee238aae4c766d6e1.zip
FreeBSD-src-84f4d732c89abc03206b2d4ee238aae4c766d6e1.tar.gz
Include missing header files which define functions for which gcc has
builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
Diffstat (limited to 'usr.bin/basename')
-rw-r--r--usr.bin/basename/basename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/basename/basename.c b/usr.bin/basename/basename.c
index 4541df0..97e8e63 100644
--- a/usr.bin/basename/basename.c
+++ b/usr.bin/basename/basename.c
@@ -46,6 +46,7 @@ static const char sccsid[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95";
#include <err.h>
#include <libgen.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
OpenPOWER on IntegriCloud