From 0bf9d41da29a269556180b3107b3f439f1a9ecf1 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 17 Jan 2011 22:15:31 +0100 Subject: [PATCH] build-sys: check for paths.h paths.h doesn't exist on Solaris Signed-off-by: Fabian Groffen --- configure.ac | 1 + include/pathnames.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 08c5d11c..3c241e91 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 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 +#endif #ifndef __STDC__ # error "we need an ANSI compiler" -- 2.39.5