Module Name: src
Committed By: christos
Date: Sun Oct 16 19:41:30 UTC 2011
Modified Files:
src/external/gpl3/gdb/dist/readline: display.c rltty.c terminal.c
Log Message:
add necessary headers for this to compile without warnings
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/readline/display.c \
src/external/gpl3/gdb/dist/readline/rltty.c \
src/external/gpl3/gdb/dist/readline/terminal.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/readline/display.c
diff -u src/external/gpl3/gdb/dist/readline/display.c:1.1.1.1 src/external/gpl3/gdb/dist/readline/display.c:1.2
--- src/external/gpl3/gdb/dist/readline/display.c:1.1.1.1 Sat Sep 24 15:56:39 2011
+++ src/external/gpl3/gdb/dist/readline/display.c Sun Oct 16 15:41:30 2011
@@ -47,6 +47,7 @@
/* System-specific feature definitions and include files. */
#include "rldefs.h"
+#include "rltty.h"
#include "rlmbutil.h"
/* Termcap library stuff. */
Index: src/external/gpl3/gdb/dist/readline/rltty.c
diff -u src/external/gpl3/gdb/dist/readline/rltty.c:1.1.1.1 src/external/gpl3/gdb/dist/readline/rltty.c:1.2
--- src/external/gpl3/gdb/dist/readline/rltty.c:1.1.1.1 Sat Sep 24 15:56:44 2011
+++ src/external/gpl3/gdb/dist/readline/rltty.c Sun Oct 16 15:41:30 2011
@@ -37,9 +37,9 @@
#include "rldefs.h"
-#if defined (GWINSZ_IN_SYS_IOCTL)
+#if defined (HAVE_SYS_IOCTL_H)
# include <sys/ioctl.h>
-#endif /* GWINSZ_IN_SYS_IOCTL */
+#endif /* HAVE_SYS_IOCTL_H */
#include "rltty.h"
#include "readline.h"
Index: src/external/gpl3/gdb/dist/readline/terminal.c
diff -u src/external/gpl3/gdb/dist/readline/terminal.c:1.1.1.1 src/external/gpl3/gdb/dist/readline/terminal.c:1.2
--- src/external/gpl3/gdb/dist/readline/terminal.c:1.1.1.1 Sat Sep 24 15:56:45 2011
+++ src/external/gpl3/gdb/dist/readline/terminal.c Sun Oct 16 15:41:30 2011
@@ -32,6 +32,10 @@
# include <sys/file.h>
#endif /* HAVE_SYS_FILE_H */
+#if defined (HAVE_SYS_IOCTL_H)
+#include <sys/ioctl.h>
+#endif /* HAVE_SYS_IOCTL_H */
+
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
#endif /* HAVE_UNISTD_H */