summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-10 17:24:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-10 17:24:51 +0000
commit68c3ce1075a6a29c5ff351a01ce0784999a0e051 (patch)
treeff998f19f04076e788ec66f5b8006ba59a6d9570 /auth.c
parentd1aed9c0579d3de30cd7b4c0eecf6eee660668ed (diff)
- (bal) NeXT/MacOS X lack libgen.h and dirname(). Patch by Mark Miller
<markm@swoon.net>
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index 8e6b32de..e4f86754 100644
--- a/auth.c
+++ b/auth.c
@@ -32,7 +32,9 @@ RCSID("$OpenBSD: auth.c,v 1.23 2001/05/24 11:12:42 markus Exp $");
#include <shadow.h>
#endif /* defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) */
+#ifdef HAVE_LIBGEN_H
#include <libgen.h>
+#endif
#include "xmalloc.h"
#include "match.h"