From 7fcf806dc9f9c19e900c2729c02fac1e271febe2 Mon Sep 17 00:00:00 2001 From: Samuel Gutierrez Date: Wed, 22 Jun 2011 23:08:58 +0000 Subject: [PATCH] fix posix builds on solaris. shmem still needs more cleanup on solaris, but at least shmem will stop breaking builds (i hope). This commit was SVN r24807. --- opal/mca/shmem/posix/shmem_posix_module.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opal/mca/shmem/posix/shmem_posix_module.c b/opal/mca/shmem/posix/shmem_posix_module.c index 7608a3c5e0..399d2cf864 100644 --- a/opal/mca/shmem/posix/shmem_posix_module.c +++ b/opal/mca/shmem/posix/shmem_posix_module.c @@ -39,6 +39,9 @@ #ifdef HAVE_STRING_H #include #endif /* HAVE_STRING_H */ +#ifdef HAVE_NETDB_H +#include +#endif /* HAVE_NETDB_H */ #include "opal/constants.h" #include "opal_stdint.h"