summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2016-03-17 11:44:01 +0100
committerMichal Privoznik <mprivozn@redhat.com>2016-03-18 09:43:45 +0100
commit865764de065585978d70624cfe4a4f960180879d (patch)
tree68e43f0cff8988157cf146e27bac94cf69bbb26a /configure.ac
parent9a0c7f5f834185db9017c34aabc03ad99cf37bed (diff)
downloadlibvirt-865764de065585978d70624cfe4a4f960180879d.tar.gz
Drop paths.h include
We include the file in plenty of places. This is mostly due to historical reasons. The only place that needs something from the header file is storage_backend_fs which opens _PATH_MOUNTED. But it gets the file included indirectly via mntent.h. At no other place in our code we need _PATH_.*. Drop the include and configure check then. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index eed2050229..d52ddd72e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -323,7 +323,7 @@ fi
LIBS=$old_libs
dnl Availability of various common headers (non-fatal if missing).
-AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/un.h \
+AC_CHECK_HEADERS([pwd.h regex.h sys/un.h \
sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h \
sys/un.h sys/syscall.h sys/sysctl.h netinet/tcp.h ifaddrs.h \
libtasn1.h sys/ucred.h sys/mount.h])