summaryrefslogtreecommitdiffstats
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-10 12:48:08 +1100
committerDamien Miller <djm@mindrot.org>1999-11-10 12:48:08 +1100
commitb77870fa7341d95024e55a116a3454e9bfe2f21e (patch)
tree51acf4d9225beead86276f8b329d97bbb63eea70 /ssh-agent.c
parenta5cec5893460c32b4769372e12a592cf218364c4 (diff)
- Merged several minor fixed:
- ssh-agent commandline parsing - RPM spec file now installs ssh setuid root - Makefile creates libdir
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 96bd021e..7f4543e9 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -531,7 +531,11 @@ main(int ac, char **av)
exit(1);
}
+#if defined(__GNU_LIBRARY__)
+ while ((ch = getopt(ac, av, "+cks")) != -1)
+#else
while ((ch = getopt(ac, av, "cks")) != -1)
+#endif /* defined(__GNU_LIBRARY__) */
{
switch (ch)
{