summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2005-02-13 00:21:11 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2005-02-13 00:21:11 +0000
commite31d908ff2e4d60fe28c3f000cb00e90b525ea48 (patch)
tree5684689a4e00b190c91ded20677f2e077861af27
parent83e2a07aa00911c775f6ed07d3de12f2bec666d8 (diff)
downloademacs-e31d908ff2e4d60fe28c3f000cb00e90b525ea48.tar.gz
If HAVE_FCNTL_H include fcntl.h.
-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"