diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 23:52:17 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 23:52:17 +1100 |
commit | ec52d7c0939569a5fa1ce531643da66508434486 (patch) | |
tree | 4cdfb7e8e359dc731326946653132d9bb4731a80 | |
parent | 28e4d8f87b9bdee4c91187f6d959b4c0124cd30b (diff) |
- (djm) Use local sys/queue.h if necessary in ssh-agent.c
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ssh-agent.c | 8 |
2 files changed, 9 insertions, 2 deletions
@@ -230,6 +230,7 @@ | |||
230 | changes | 230 | changes |
231 | - (djm) Recent Glibc includes an incompatible sys/queue.h. Treat it as | 231 | - (djm) Recent Glibc includes an incompatible sys/queue.h. Treat it as |
232 | bogus in configure | 232 | bogus in configure |
233 | - (djm) Use local sys/queue.h if necessary in ssh-agent.c | ||
233 | 234 | ||
234 | 20020121 | 235 | 20020121 |
235 | - (djm) Rework ssh-rand-helper: | 236 | - (djm) Rework ssh-rand-helper: |
@@ -7377,4 +7378,4 @@ | |||
7377 | - Wrote replacements for strlcpy and mkdtemp | 7378 | - Wrote replacements for strlcpy and mkdtemp |
7378 | - Released 1.0pre1 | 7379 | - Released 1.0pre1 |
7379 | 7380 | ||
7380 | $Id: ChangeLog,v 1.1788 2002/01/22 12:51:42 djm Exp $ | 7381 | $Id: ChangeLog,v 1.1789 2002/01/22 12:52:17 djm Exp $ |
diff --git a/ssh-agent.c b/ssh-agent.c index 5264c23a8..ce283c8cc 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -36,9 +36,15 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | #include <sys/queue.h> | ||
40 | RCSID("$OpenBSD: ssh-agent.c,v 1.79 2002/01/18 18:14:17 stevesk Exp $"); | 39 | RCSID("$OpenBSD: ssh-agent.c,v 1.79 2002/01/18 18:14:17 stevesk Exp $"); |
41 | 40 | ||
41 | #if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) | ||
42 | #include <sys/queue.h> | ||
43 | #else | ||
44 | #include "openbsd-compat/fake-queue.h" | ||
45 | #endif | ||
46 | |||
47 | |||
42 | #include <openssl/evp.h> | 48 | #include <openssl/evp.h> |
43 | #include <openssl/md5.h> | 49 | #include <openssl/md5.h> |
44 | 50 | ||