diff 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
line wrap: on
line diff
--- a/lib/pty.c	Sun Nov 28 14:35:47 2004 +0000
+++ b/lib/pty.c	Sun Nov 28 15:22:00 2004 +0000
@@ -61,7 +61,9 @@
 
 #elif HAVE_GRANTPT
 
+#ifndef __FreeBSD__
 #include <stropts.h>
+#endif
 
 char *
 gftp_get_pty_impl (void)