diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-01-17 22:15:31 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-01-20 23:47:52 +0100 |
commit | 0bf9d41da29a269556180b3107b3f439f1a9ecf1 (patch) | |
tree | 5a2e480a3f13783357f2f19f973770fab7ea3d7b /include | |
parent | 0c3508bdf5040bb092078fe5806a89056e9edbbf (diff) | |
download | util-linux-old-0bf9d41da29a269556180b3107b3f439f1a9ecf1.tar.gz |
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')
-rw-r--r-- | include/pathnames.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index ab21bd78..4faca1fc 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" |