diff options
author | djm <djm> | 2001-03-14 00:39:45 +0000 |
---|---|---|
committer | djm <djm> | 2001-03-14 00:39:45 +0000 |
commit | 123251ac08dd883341755683c47e0f6f7a5ccd82 (patch) | |
tree | 77fd5535605b183cbd591adcad7b7c7b347cee43 /includes.h | |
parent | d882f4f8c7e29dd8ecfe5820b3715684a49c9dcb (diff) | |
download | openssh-123251ac08dd883341755683c47e0f6f7a5ccd82.tar.gz |
- (djm) Add replacement glob() from OpenBSD libc if the system glob is
missing or lacks the GLOB_ALTDIRFUNC extension
- (djm) Remove -I$(srcdir)/openbsd-compat from CFLAGS, refer to headers
relatively. Avoids conflict between glob.h and /usr/include/glob.h
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -21,7 +21,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include "config.h" -#include "bsd-nextstep.h" +#include "openbsd-compat/bsd-nextstep.h" #include <sys/types.h> #include <sys/socket.h> @@ -54,6 +54,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #ifdef HAVE_BSTRING_H # include <bstring.h> #endif +#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) +# include <glob.h> +#endif #ifdef HAVE_NETGROUP_H # include <netgroup.h> #endif @@ -95,8 +98,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } # include <vis.h> #endif #include "version.h" -#include "openbsd-compat.h" -#include "bsd-cygwin_util.h" +#include "openbsd-compat/openbsd-compat.h" +#include "openbsd-compat/bsd-cygwin_util.h" #include "entropy.h" #endif /* INCLUDES_H */ |