changeset 60027:8f9cab9fa533

If HAVE_FCNTL_H include fcntl.h.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 13 Feb 2005 00:21:11 +0000
parents 582f5e2fbf3a
children 681d4e4ca613 c0215e820840
files src/ChangeLog src/keyboard.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 12 18:36:01 2005 +0000
+++ b/src/ChangeLog	Sun Feb 13 00:21:11 2005 +0000
@@ -1,3 +1,7 @@
+2005-02-12  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* keyboard.c: If HAVE_FCNTL_H include fcntl.h.
+
 2005-02-12  Kim F. Storm  <storm@cua.dk>
 
 	* xdisp.c (expose_window): Don't fix overlaps for mode lines.
--- a/src/keyboard.c	Sat Feb 12 18:36:01 2005 +0000
+++ b/src/keyboard.c	Sun Feb 13 00:21:11 2005 +0000
@@ -65,6 +65,10 @@
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
 /* This is to get the definitions of the XK_ symbols.  */
 #ifdef HAVE_X_WINDOWS
 #include "xterm.h"