summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
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>