summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:52:17 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:52:17 +1100
commitec52d7c0939569a5fa1ce531643da66508434486 (patch)
tree4cdfb7e8e359dc731326946653132d9bb4731a80 /ssh-agent.c
parent28e4d8f87b9bdee4c91187f6d959b4c0124cd30b (diff)
downloadopenssh-git-ec52d7c0939569a5fa1ce531643da66508434486.tar.gz
- (djm) Use local sys/queue.h if necessary in ssh-agent.c
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 5264c23a..ce283c8c 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -36,9 +36,15 @@
*/
#include "includes.h"
-#include <sys/queue.h>
RCSID("$OpenBSD: ssh-agent.c,v 1.79 2002/01/18 18:14:17 stevesk Exp $");
+#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
+#include <sys/queue.h>
+#else
+#include "openbsd-compat/fake-queue.h"
+#endif
+
+
#include <openssl/evp.h>
#include <openssl/md5.h>