Mercurial > gftp.yaz
comparison lib/pty.c @ 629:1504cfdd5d55
2004-11-28 Brian Masney <masneyb@gftp.org>
* lib/pty.c - if HAVE_GRANTPT is defined, then don't include stropts.h
if it is being compiled on FreeBSD (from Radim Kolar <hsn@sendmail.cz>)
author | masneyb |
---|---|
date | Sun, 28 Nov 2004 15:22:00 +0000 |
parents | e46278e7ef1d |
children | 4029ab7f13e4 |
comparison
equal
deleted
inserted
replaced
628:99b906f20955 | 629:1504cfdd5d55 |
---|---|
59 return (new_fds); | 59 return (new_fds); |
60 } | 60 } |
61 | 61 |
62 #elif HAVE_GRANTPT | 62 #elif HAVE_GRANTPT |
63 | 63 |
64 #ifndef __FreeBSD__ | |
64 #include <stropts.h> | 65 #include <stropts.h> |
66 #endif | |
65 | 67 |
66 char * | 68 char * |
67 gftp_get_pty_impl (void) | 69 gftp_get_pty_impl (void) |
68 { | 70 { |
69 return ("unix98"); | 71 return ("unix98"); |