"error: ‘AT_FDCWD’ undeclared (first use in this function)" on Mac OS X

2013-10-10 Thread harvey zh
Hi The latest git version cann't be compiled on Mac OS X. $ brew install --HEAD tmux failed. When compiled manually, I get the following errors: cmd-load-buffer.c: In function ‘cmd_load_buffer_exec’: cmd-load-buffer.c:90: error: ‘AT_FDCWD’ undeclared (first use in this function) cmd-load-buffer

Re: "error: ‘AT_FDCWD’ undeclared (first use in this function)" on Mac OS X

2013-10-10 Thread harvey zh
^ 1 error generated. make: *** [cmd-load-buffer.o] Error 1 make: *** Waiting for unfinished jobs READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting > -- Thomas Adam > > On 10 October 2013 08:18, harvey zh wrote: > > Hi > > > > The latest git versi

Re: "error: ?AT_FDCWD? undeclared (first use in this function)" on Mac OS X

2013-10-10 Thread harvey zh
fi > AM_CONDITIONAL(NO_CFMAKERAW, [test "x$found_cfmakeraw" = xno]) > > +# Look for openat, compat/openat.c used if missing. > +AC_CHECK_FUNC(openat, found_openat=yes, found_openat=no) > +if test "x$found_openat" = xyes; then > + AC_DEFINE(HAVE_OPENAT)