bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] rlfe compilation breaks on FreeBSD-8.0 (no more sgtty.h)


From: Javier Villavicencio
Subject: [Bug-readline] rlfe compilation breaks on FreeBSD-8.0 (no more sgtty.h)
Date: Tue, 23 Mar 2010 10:47:04 -0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100313 Thunderbird/3.0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Only termios.h now, the following patch fixes the issue:

- --- examples/rlfe/os.h.orig   2010-01-21 18:19:18 +0100
+++ examples/rlfe/os.h  2010-01-21 18:20:44 +0100
@@ -186,7 +186,7 @@
  *    terminal handling
  */

- -#ifdef POSIX
+#if defined(POSIX) || defined(__FreeBSD__)
 # include <termios.h>
 # ifdef hpux
 #  include <bsdtty.h>

See also http://bugs.gentoo.org/show_bug.cgi?id=301508
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREDAAYFAkuoxlgACgkQgvV6MZSadQqoPQCfaeWhMCq8HNX7qNnDVh0yTM2q
p4MAn2n1R+zunVAGpuq/kdA5BICI2fTd
=R0Z4
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]