Hi everyone. I came across a problem when building emacs-25.1 on Ubuntu 16.04.1. After successfully running
./autogen.sh
./configure --with-xwidgets --with-cairo --prefix=$HOME
I run `make` then the following error shows up
In file included from binary-io.c:3:0:
binary-io.h: In function ‘set_binary_mode’:
binary-io.h:57:10: error: ‘O_BINARY’ undeclared (first use in this function)
return O_BINARY;
I googled around and could not solve it by myself, do you have any ideas? Thanks.
--
Hantang Liu