From 9ab9fe91fb6cd834597513d36936c4ad9a785a4f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 8 Oct 2013 16:12:58 +0000 Subject: Fix build on Solaris 11. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Vladimir Voskresensky. The erros were: Path.inc:274:3: error: ‘Dl_info’ was not declared in this scope ... and usr/include/spawn.h:52:14: error: expected ‘,’ or ‘...’ before ‘argv’ llvm-svn: 192185 --- llvm/lib/Support/Unix/Unix.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Support/Unix/Unix.h') diff --git a/llvm/lib/Support/Unix/Unix.h b/llvm/lib/Support/Unix/Unix.h index dd11c04b32b..ba688e38217 100644 --- a/llvm/lib/Support/Unix/Unix.h +++ b/llvm/lib/Support/Unix/Unix.h @@ -47,6 +47,10 @@ # include #endif +#ifdef HAVE_DLFCN_H +# include +#endif + #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif -- cgit v1.2.3