Move #include <libgen.h> from tip.h to the place where it's really needed.

From: Slava Semushin <php-coder@altlinux.ru>
This commit is contained in:
hubertf 2007-03-09 23:45:21 +00:00
parent 4d49175215
commit cfb51b951e
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tip.c,v 1.47 2007/02/16 20:25:33 hubertf Exp $ */
/* $NetBSD: tip.c,v 1.48 2007/03/09 23:45:21 hubertf Exp $ */
/*
* Copyright (c) 1983, 1993
@ -31,6 +31,7 @@
#include <sys/cdefs.h>
#include <ctype.h>
#include <libgen.h>
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
@ -41,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: tip.c,v 1.47 2007/02/16 20:25:33 hubertf Exp $");
__RCSID("$NetBSD: tip.c,v 1.48 2007/03/09 23:45:21 hubertf Exp $");
#endif /* not lint */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: tip.h,v 1.29 2007/02/16 20:25:33 hubertf Exp $ */
/* $NetBSD: tip.h,v 1.30 2007/03/09 23:45:21 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@ -45,7 +45,6 @@
#include <err.h>
#include <fcntl.h>
#include <errno.h>
#include <libgen.h>
#include <dirent.h>
#include <pwd.h>
#include <setjmp.h>