* lread.c [lint]: Don't include <sys/inode.h>.
@ 2008-01-28 13:24 Jim Meyering
2008-02-07 6:55 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Jim Meyering @ 2008-01-28 13:24 UTC (permalink / raw)
To: emacs-devel
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 <meyering@redhat.com>
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: lread.c [lint]: Don't include <sys/inode.h>.
2008-01-28 13:24 lread.c [lint]: Don't include <sys/inode.h> Jim Meyering
@ 2008-02-07 6:55 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2008-02-07 6:55 UTC (permalink / raw)
To: Jim Meyering; +Cc: emacs-devel
Jim Meyering wrote:
> 2008-01-28 Jim Meyering <meyering@redhat.com>
>
> * lread.c [lint]: Don't include <sys/inode.h>.
Thanks; installed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-07 6:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 13:24 lread.c [lint]: Don't include <sys/inode.h> Jim Meyering
2008-02-07 6:55 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.