I am sorry for the unindented patch file, due to the thunderbird mail
client(or may be I do not know how to use it correctly), so I decide to
reply it with a correctly indented patch file.
---
hahawang
--- a/lib/pty.c
+++ b/lib/pty.c
@@ -60,7 +60,7 @@
#elif HAVE_GRANTPT
-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|| defined(__linux__))
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|| defined(__linux__) || defined(__gnu_hurd__))
#include <stropts.h>
#endif