From: Fabian Groffen Date: Mon, 17 Jan 2011 21:15:31 +0000 (+0100) Subject: build-sys: check for paths.h X-Git-Tag: v2.19-rc2~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bf9d41da29a269556180b3107b3f439f1a9ecf1;p=thirdparty%2Futil-linux.git build-sys: check for paths.h paths.h doesn't exist on Solaris Signed-off-by: Fabian Groffen --- diff --git a/configure.ac b/configure.ac index 08c5d11c7e..3c241e913c 100644 --- a/configure.ac +++ b/configure.ac @@ -119,6 +119,7 @@ AC_CHECK_HEADERS( locale.h \ stdint.h \ inttypes.h \ + paths.h \ pty.h \ mntent.h \ net/if.h \ diff --git a/include/pathnames.h b/include/pathnames.h index ab21bd785a..4faca1fc48 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -6,7 +6,9 @@ #ifndef PATHNAMES_H #define PATHNAMES_H +#ifdef HAVE_PATHS_H #include +#endif #ifndef __STDC__ # error "we need an ANSI compiler"