summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/basename.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-24 11:41:03 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-08-24 11:41:03 +0200
commitfe408b4826f92b96976b46dec02218bd66dfc6e1 (patch)
treef95584806bf7b9ef77a3cb85f45330ac8fdeb05d /openbsd-compat/basename.c
parent - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in (diff)
downloadopenssh-fe408b4826f92b96976b46dec02218bd66dfc6e1.tar.xz
openssh-fe408b4826f92b96976b46dec02218bd66dfc6e1.zip
- (dtucker) [openbsd-compat/basename.c] Include errno.h.
Diffstat (limited to 'openbsd-compat/basename.c')
-rw-r--r--openbsd-compat/basename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/basename.c b/openbsd-compat/basename.c
index 4b10cb84b..ffa5c8984 100644
--- a/openbsd-compat/basename.c
+++ b/openbsd-compat/basename.c
@@ -20,6 +20,7 @@
#include "includes.h"
#ifndef HAVE_BASENAME
+#include <errno.h>
#include <string.h>
char *