summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorFabian Groffen2011-01-17 22:15:31 +0100
committerKarel Zak2011-01-20 23:47:52 +0100
commit0bf9d41da29a269556180b3107b3f439f1a9ecf1 (patch)
tree5a2e480a3f13783357f2f19f973770fab7ea3d7b /include/pathnames.h
parentlibblkid: add blkdev.h to blkidP.h (diff)
downloadkernel-qcow2-util-linux-0bf9d41da29a269556180b3107b3f439f1a9ecf1.tar.gz
kernel-qcow2-util-linux-0bf9d41da29a269556180b3107b3f439f1a9ecf1.tar.xz
kernel-qcow2-util-linux-0bf9d41da29a269556180b3107b3f439f1a9ecf1.zip
build-sys: check for paths.h
paths.h doesn't exist on Solaris Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index ab21bd785..4faca1fc4 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -6,7 +6,9 @@
#ifndef PATHNAMES_H
#define PATHNAMES_H
+#ifdef HAVE_PATHS_H
#include <paths.h>
+#endif
#ifndef __STDC__
# error "we need an ANSI compiler"