changeset 5276:dd2976af8783

Add some missing #includes, termcap.c, hopefully fixing Adam Sjoegren's build. 2010-09-18 Aidan Kehoe <kehoea@parhasard.net> * termcap.c: Add a couple of missing includes here, which should fix builds that use this file. (I have no access to such builds, but Mats' buildbot shows output that indicates they fail at link time since DEVICE_BAUD_RATE and IS_DIRECTORY_SEP are available.)
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 18 Sep 2010 15:03:54 +0100
parents 5a9aa6c40c9b
children d804e621add0
files src/ChangeLog src/termcap.c
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Sep 18 14:54:45 2010 +0100
+++ b/src/ChangeLog	Sat Sep 18 15:03:54 2010 +0100
@@ -1,3 +1,11 @@
+2010-09-18  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* termcap.c:
+	Add a couple of missing includes here, which should fix builds
+	that use this file. (I have no access to such builds, but Mats'
+	buildbot shows output that indicates they fail at link time since
+	DEVICE_BAUD_RATE and IS_DIRECTORY_SEP are available.)
+
 2010-09-18  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* fns.c (Freduce):
--- a/src/termcap.c	Sat Sep 18 14:54:45 2010 +0100
+++ b/src/termcap.c	Sat Sep 18 15:03:54 2010 +0100
@@ -25,7 +25,10 @@
 #ifdef emacs
 #include <config.h>
 #include "lisp.h" /* For encapsulated open, close, read */
-#include "device.h" /* For DEVICE_BAUD_RATE */
+#include "device.h"
+#include "device-impl.h" /* For DEVICE_BAUD_RATE */
+#include "sysfile.h"
+#include "process.h"
 #else /* not emacs */
 
 #include <stdlib.h>