On 10/20/15 2:31 AM, Raveh Neeman wrote:
> Hello,
>
>
> I get a compilation error during a build of bash 4.3.30 on MSYS, MinGW.
Try the attached patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
*** ../bash-4.3-patched/shell.c 2014-12-29 14:39:43.000000000 -0500
--- shell.c 2015-10-20 09:35:37.000000000 -0400
***************
*** 39,43 ****
#include <errno.h>
#include "filecntl.h"
! #include <pwd.h>
#if defined (HAVE_UNISTD_H)
--- 39,45 ----
#include <errno.h>
#include "filecntl.h"
! #if defined (HAVE_PWD_H)
! # include <pwd.h>
! #endif
#if defined (HAVE_UNISTD_H)