[gftp/autotools: 6/12] lib/pty.c: stropts.h doesnt exist on linux



commit 8a3f84a67635c41445b44d9a973fa81f2b0792d3
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Sep 30 00:18:28 2013 +0100

    lib/pty.c: stropts.h doesnt exist on linux

 lib/pty.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/pty.c b/lib/pty.c
index f7cb1f9..f9d609b 100644
--- a/lib/pty.c
+++ b/lib/pty.c
@@ -61,7 +61,7 @@ _gftp_ptys_open (int fdm, int fds, char *pts_name)
 
 #elif HAVE_GRANTPT
 
-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__))
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__linux__))
 #include <stropts.h>
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]