diff --git a/configure b/configure index c0921851..a41e008f 100755 --- a/configure +++ b/configure @@ -12326,7 +12326,7 @@ fi done fi -for ac_header in dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h linux/falloc.h linux/fd.h linux/major.h linux/loop.h net/if_dl.h netinet/in.h sys/disklabel.h sys/file.h sys/ioctl.h sys/mkdev.h sys/mman.h sys/prctl.h sys/queue.h sys/resource.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/syscall.h sys/sysmacros.h sys/time.h sys/types.h sys/un.h sys/wait.h +for ac_header in dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h linux/falloc.h linux/fd.h linux/major.h linux/loop.h net/if_dl.h netinet/in.h sys/disklabel.h sys/disk.h sys/file.h sys/ioctl.h sys/mkdev.h sys/mman.h sys/mount.h sys/prctl.h sys/resource.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/syscall.h sys/sysmacros.h sys/time.h sys/types.h sys/un.h sys/wait.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -12339,24 +12339,6 @@ fi done -for ac_header in sys/disk.h sys/mount.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " -#if HAVE_SYS_QUEUE_H -#include -#endif - -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - for ac_header in net/if.h do : ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" " diff --git a/configure.in b/configure.in index b82f64e0..4f7e6132 100644 --- a/configure.in +++ b/configure.in @@ -875,12 +875,13 @@ AC_CHECK_HEADERS(m4_flatten([ net/if_dl.h netinet/in.h sys/disklabel.h + sys/disk.h sys/file.h sys/ioctl.h sys/mkdev.h sys/mman.h + sys/mount.h sys/prctl.h - sys/queue.h sys/resource.h sys/select.h sys/socket.h @@ -893,12 +894,6 @@ AC_CHECK_HEADERS(m4_flatten([ sys/un.h sys/wait.h ])) -AC_CHECK_HEADERS(sys/disk.h sys/mount.h,,, -[[ -#if HAVE_SYS_QUEUE_H -#include -#endif -]]) AC_CHECK_HEADERS(net/if.h,,, [[ #if HAVE_SYS_TYPES_H diff --git a/lib/blkid/getsize.c b/lib/blkid/getsize.c index c2a8f72a..a5c40aa9 100644 --- a/lib/blkid/getsize.c +++ b/lib/blkid/getsize.c @@ -12,7 +12,6 @@ #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE -/* include this before sys/queues.h! */ #include "config.h" #include "blkidP.h" @@ -34,9 +33,6 @@ #include #endif #ifdef HAVE_SYS_DISK_H -#ifdef HAVE_SYS_QUEUE_H -#include /* for LIST_HEAD */ -#endif #include #endif #ifdef __linux__ diff --git a/lib/config.h.in b/lib/config.h.in index 62fc8b32..be415d8a 100644 --- a/lib/config.h.in +++ b/lib/config.h.in @@ -461,9 +461,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PRCTL_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_QUEUE_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_RESOURCE_H diff --git a/lib/ext2fs/getsize.c b/lib/ext2fs/getsize.c index a9a4812e..a227155e 100644 --- a/lib/ext2fs/getsize.c +++ b/lib/ext2fs/getsize.c @@ -34,9 +34,6 @@ #include #endif #ifdef HAVE_SYS_DISK_H -#ifdef HAVE_SYS_QUEUE_H -#include /* for LIST_HEAD */ -#endif #include #endif #ifdef __linux__