summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-03-19 10:09:27 +1100
committerDamien Miller <djm@mindrot.org>2001-03-19 10:09:27 +1100
commit9de61e8c596e1f7e52f780dd87bde2df779b1237 (patch)
tree99e0f2e4bccb64f63b793197b3b1a31f7a5080f4 /defines.h
parenta2dc6030f769d7737bf481d2d4c77f82bc4b7965 (diff)
- (djm) Add getusershell() functions from OpenBSD CVS
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 5b89765d8..9e4932380 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.56 2001/02/24 00:55:05 mouring Exp $ */ 4/* $Id: defines.h,v 1.57 2001/03/18 23:09:28 djm Exp $ */
5 5
6/* Some platforms need this for the _r() functions */ 6/* Some platforms need this for the _r() functions */
7#if !defined(_REENTRANT) && !defined(SNI) 7#if !defined(_REENTRANT) && !defined(SNI)
@@ -274,6 +274,12 @@ struct winsize {
274#ifndef _PATH_BSHELL 274#ifndef _PATH_BSHELL
275# define _PATH_BSHELL "/bin/sh" 275# define _PATH_BSHELL "/bin/sh"
276#endif 276#endif
277#ifndef _PATH_CSHELL
278# define _PATH_CSHELL "/bin/csh"
279#endif
280#ifndef _PATH_SHELLS
281# define _PATH_SHELLS "/etc/shells"
282#endif
277 283
278#ifdef USER_PATH 284#ifdef USER_PATH
279# ifdef _PATH_STDPATH 285# ifdef _PATH_STDPATH