The compiler being used is gcc and the application i am trying to install is mpiBLAST, well actually its dependencies, halfway through I get this error

gcc -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DNDEBUG -O3 -c -I../include -I/usr/X11R6/include -L/usr/X11R6/lib -DWIN_MOTIF ncbienv.c
In file included from ncbienv.c:309:0:
/usr/local/include/pwd.h:8:1: error: unknown type name ‘LIST’
ncbienv.c: In function ‘s_GetHomeByUID’:
ncbienv.c:618:19: error: storage size of ‘pwd’ isn’t known
ncbienv.c:633:30: error: dereferencing pointer to incomplete type
ncbienv.c:635:34: error: dereferencing pointer to incomplete type
ncbienv.c: In function ‘s_GetHomeByLOGIN’:
ncbienv.c:648:19: error: storage size of ‘pwd’ isn’t known
ncbienv.c:681:30: error: dereferencing pointer to incomplete type
ncbienv.c:683:34: error: dereferencing pointer to incomplete type
make: *** [ncbienv.o] Error 1

the file being called to is pwd.h

which is in usr/local/include/

this is the file


/* Copyright Vladimir Prus 2002. Distributed under the Boost */
/* Software License, Version 1.0. (See accompanying */
/* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */

#ifndef PWD_H
#define PWD_H

LIST * pwd( void );
void pwd_done( void );

#endif


It would be really helpful if someone can suggest a workaround