summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/keyboard.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 280d430dbd8..c6ab6985ed0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/keyboard.c b/src/keyboard.c
index 3b7d2aac981..996aad15b30 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -65,6 +65,10 @@ Boston, MA 02111-1307, USA. */
#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"