Blame scsilib/include/getcwd.h

Packit Service 3e823c
/* @(#)getcwd.h	1.3 01/07/15 Copyright 1998 J. Schilling */
Packit Service 3e823c
/*
Packit Service 3e823c
 *	Definitions for getcwd()
Packit Service 3e823c
 *
Packit Service 3e823c
 *	Copyright (c) 1998 J. Schilling
Packit Service 3e823c
 */
Packit Service 3e823c
/*
Packit Service 3e823c
 * This program is free software; you can redistribute it and/or modify
Packit Service 3e823c
 * it under the terms of the GNU General Public License as published by
Packit Service 3e823c
 * the Free Software Foundation; either version 2, or (at your option)
Packit Service 3e823c
 * any later version.
Packit Service 3e823c
 *
Packit Service 3e823c
 * This program is distributed in the hope that it will be useful,
Packit Service 3e823c
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 3e823c
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 3e823c
 * GNU General Public License for more details.
Packit Service 3e823c
 *
Packit Service 3e823c
 * You should have received a copy of the GNU General Public License
Packit Service 3e823c
 * along with this program; see the file COPYING.  If not, write to
Packit Service 3e823c
 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
Packit Service 3e823c
 */
Packit Service 3e823c
Packit Service 3e823c
#ifndef	_GETCWD_H
Packit Service 3e823c
#define	_GETCWD_H
Packit Service 3e823c
Packit Service 3e823c
#ifndef _MCONFIG_H
Packit Service 3e823c
#include <mconfig.h>
Packit Service 3e823c
#endif
Packit Service 3e823c
Packit Service 3e823c
#ifdef JOS
Packit Service 3e823c
#	ifndef	_INCL_SYS_STYPES_H
Packit Service 3e823c
#	include <sys/stypes.h>
Packit Service 3e823c
#	define	_INCL_SYS_STYPES_H
Packit Service 3e823c
#	endif
Packit Service 3e823c
	extern char	*gwd();
Packit Service 3e823c
#	define		getcwd(b, len)	gwd(b)
Packit Service 3e823c
#else
Packit Service 3e823c
#	ifndef	HAVE_GETCWD
Packit Service 3e823c
#		define	getcwd(b, len)	getwd(b)
Packit Service 3e823c
#	endif
Packit Service 3e823c
#endif
Packit Service 3e823c
Packit Service 3e823c
#endif	/* _GETCWD_H */