summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2013-02-18 10:40:13 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2013-02-18 10:40:13 +0000
commitbfdb3913b680e5b5208904c2537c2b75bfd3cea9 (patch)
treed673ea7f1a0d3074db536dea2f5c72b9b874464e /usr.bin
parentc9dd09ab32087f97dfd1228f81b4d06cda4cbc29 (diff)
Fix after last commit: add missing header.
sthen@ ok.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/last/last.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index 818f5145068..d404dad6f27 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: last.c,v 1.37 2013/02/12 20:24:32 lum Exp $ */
+/* $OpenBSD: last.c,v 1.38 2013/02/18 10:40:12 fgsch Exp $ */
/* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */
/*
@@ -36,6 +36,7 @@
#include <ctype.h>
#include <err.h>
#include <fcntl.h>
+#include <libgen.h>
#include <paths.h>
#include <signal.h>
#include <stdio.h>