--- gcc/config/arm/xm-arm.h 2018/04/24 18:16:10 1.1.1.2 +++ gcc/config/arm/xm-arm.h 2018/04/24 18:30:04 1.1.1.4 @@ -18,7 +18,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* #defines that need visibility everywhere. */ #define FALSE 0 @@ -62,6 +63,12 @@ the Free Software Foundation, 675 Mass A #define SUCCESS_EXIT_CODE 0 #define FATAL_EXIT_CODE 33 +/* If we have defined POSIX, but are compiling in the BSD environment, then + we need to define getcwd in terms of getwd. */ +#if defined (POSIX) && defined (_BSD_C) +#define HAVE_GETWD 1 +#endif + /* EOF xm-arm.h */