smlinux/extra/gftp/gftp.glibc-2.30.diff

11 lines
348 B
Diff

--- a/lib/pty.c 2020-05-24 11:07:18.423188979 +0530
+++ b/lib/pty.c 2020-05-24 11:07:59.092333611 +0530
@@ -61,7 +61,7 @@
#elif HAVE_GRANTPT
-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__))
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__linux__))
#include <stropts.h>
#endif