From c8e3a9c3db7dfb5a04ec2bf4b1aae55809f94de4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 5 Nov 2012 18:30:45 +0200 Subject: 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. --- src/makefile.w32-in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/makefile.w32-in') 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) \ -- cgit v1.2.1