summaryrefslogtreecommitdiff
path: root/src/makefile.w32-in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-11-05 18:30:45 +0200
committerEli Zaretskii <eliz@gnu.org>2012-11-05 18:30:45 +0200
commitc8e3a9c3db7dfb5a04ec2bf4b1aae55809f94de4 (patch)
tree92ff26bdd297d964d44f44c1f73a341a0b286f4a /src/makefile.w32-in
parent4f3f021d65aa712f871c498579ca549f5f5247ab (diff)
downloademacs-c8e3a9c3db7dfb5a04ec2bf4b1aae55809f94de4.tar.gz
Fix bug #12805 with compilation error in the cygw32 build.
src/makefile.w32-in ($(BLD)/w32fns.$(O)): Depend on $(NT_INC)/unistd.h. src/w32fns.c Include unistd.h, to avoid compiler warnings on Cygwin. (emacs_abort) [CYGWIN]: Don't call _open_osfhandle; instead, use file descriptor 2 for standard error.
Diffstat (limited to 'src/makefile.w32-in')
-rw-r--r--src/makefile.w32-in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index 5be1ccb70df..9df5dedb7ea 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -1564,6 +1564,7 @@ $(BLD)/w32fns.$(O) : \
$(SRC)/w32.h \
$(SRC)/w32common.h \
$(SRC)/w32heap.h \
+ $(NT_INC)/unistd.h \
$(BUFFER_H) \
$(CCL_H) \
$(CHARACTER_H) \