diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libidu/walker.c | 2 | ||||
-rw-r--r-- | src/mkid.c | 2 |
4 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,6 @@ 2006-07-22 Claudio Fontana <claudio@gnu.org> + * configure.ac: add header checks for terminal-related stuff. * configure.ac: add check for lstat, bumped to 4.2 * libidu/idfile.c: replace include sys/stat.h with lstat.h. diff --git a/configure.ac b/configure.ac index 5d25e99..d97f7aa 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,8 @@ gl_INIT # Checks for header files. +AC_CHECK_HEADERS([termios.h sys/ioctl.h termio.h sgtty.h]) + # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE diff --git a/libidu/walker.c b/libidu/walker.c index eeaf81f..a25f5f4 100644 --- a/libidu/walker.c +++ b/libidu/walker.c @@ -79,7 +79,7 @@ int lstat(const char *filename, struct stat *sbuf) { return stat(filename, sbuf); } -#endif +#endif /* !HAVE_LSTAT */ #if HAVE_LINK @@ -189,7 +189,7 @@ static void *get_process_heap(void) return sbrk(0); #else return 0; -#endif +#endif /* HAVE_SBRK */ } int |