diff options
author | Damien Miller <djm@mindrot.org> | 2001-03-14 11:39:45 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-03-14 11:39:45 +1100 |
commit | 3c02768950ba1f17dc90d9f4a9538a8eec711c4f (patch) | |
tree | fe2b9f417d7923cdb570ea6a67cfdc8a65877661 /includes.h | |
parent | 46e55aaabc33549b91a85052aa048dffaf061761 (diff) |
- (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
diff --git a/includes.h b/includes.h index a4ebbd3d3..3f834ba86 100644 --- a/includes.h +++ b/includes.h | |||
@@ -21,7 +21,7 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | #include "bsd-nextstep.h" | 24 | #include "openbsd-compat/bsd-nextstep.h" |
25 | 25 | ||
26 | #include <sys/types.h> | 26 | #include <sys/types.h> |
27 | #include <sys/socket.h> | 27 | #include <sys/socket.h> |
@@ -54,6 +54,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
54 | #ifdef HAVE_BSTRING_H | 54 | #ifdef HAVE_BSTRING_H |
55 | # include <bstring.h> | 55 | # include <bstring.h> |
56 | #endif | 56 | #endif |
57 | #if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) | ||
58 | # include <glob.h> | ||
59 | #endif | ||
57 | #ifdef HAVE_NETGROUP_H | 60 | #ifdef HAVE_NETGROUP_H |
58 | # include <netgroup.h> | 61 | # include <netgroup.h> |
59 | #endif | 62 | #endif |
@@ -95,8 +98,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } | |||
95 | # include <vis.h> | 98 | # include <vis.h> |
96 | #endif | 99 | #endif |
97 | #include "version.h" | 100 | #include "version.h" |
98 | #include "openbsd-compat.h" | 101 | #include "openbsd-compat/openbsd-compat.h" |
99 | #include "bsd-cygwin_util.h" | 102 | #include "openbsd-compat/bsd-cygwin_util.h" |
100 | #include "entropy.h" | 103 | #include "entropy.h" |
101 | 104 | ||
102 | #endif /* INCLUDES_H */ | 105 | #endif /* INCLUDES_H */ |