emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lread.c [lint]: Don't include <sys/inode.h>.


From: Jim Meyering
Subject: lread.c [lint]: Don't include <sys/inode.h>.
Date: Mon, 28 Jan 2008 14:24:05 +0100

Hardly a big deal, but since I sometimes build with -Dlint,
this code was causing a failure when <sys/inode.h> does not exist:

2008-01-28  Jim Meyering  <address@hidden>

        * lread.c [lint]: Don't include <sys/inode.h>.

diff --git a/src/lread.c b/src/lread.c
index 271fd98..b8dc1fc 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -40,10 +40,6 @@ Boston, MA 02110-1301, USA.  */
 #include "coding.h"
 #include "blockinput.h"

-#ifdef lint
-#include <sys/inode.h>
-#endif /* lint */
-
 #ifdef MSDOS
 #if __DJGPP__ < 2
 #include <unistd.h>    /* to get X_OK */
--
1.5.4.rc5.1.g0fa73




reply via email to

[Prev in Thread] Current Thread [Next in Thread]