Eitan Adler on Sun, 08 Dec 2013 06:44:50 +0100


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

small patch for src/languages/es.c


Hi all,

This is a minor issue.  I hope I am using the correct patch format.
http://pari.math.u-bordeaux.fr/codeguide.html says to use context
diffs, but it also says to use 'diff -u'.  Looking at the list
archives, other posters have also used unified diffs.

[ I am not subscribed so please CC me on replies ].

commit e16f45f601c8e9afc03157c5659ce8213d05b83a
Author: Eitan Adler <lists@eitanadler.com>
Date:   Sun Dec 8 00:33:06 2013 -0500

    termios.h should be found in the root of the include path, not in
    $INCLUDE_PATH/sys

    Signed-off-by: Eitan Adler <lists@eitanadler.com>

diff --git a/src/language/es.c b/src/language/es.c
index af82669..6d6b18e 100644
--- a/src/language/es.c
+++ b/src/language/es.c
@@ -1426,7 +1426,7 @@ strlen_real(const char *s)
 /********************************************************************/
 #undef larg /* problems with SCO Unix headers (ioctl_arg) */
 #ifdef HAS_TIOCGWINSZ
-#  include <sys/termios.h>
+#  include <termios.h>
 #  include <sys/ioctl.h>
 #endif



-- 
Eitan Adler