From e31d908ff2e4d60fe28c3f000cb00e90b525ea48 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sun, 13 Feb 2005 00:21:11 +0000 Subject: [PATCH] If HAVE_FCNTL_H include fcntl.h. --- src/ChangeLog | 4 ++++ src/keyboard.c | 4 ++++ 2 files changed, 8 insertions(+) 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 + + * keyboard.c: If HAVE_FCNTL_H include fcntl.h. + 2005-02-12 Kim F. Storm * 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 #endif +#ifdef HAVE_FCNTL_H +#include +#endif + /* This is to get the definitions of the XK_ symbols. */ #ifdef HAVE_X_WINDOWS #include "xterm.h" -- 2.39.5