Header files not present on Windows

Patrik Stridvall ps at leissner.se
Tue Feb 5 11:45:17 CST 2002


Hmm. I'm note sure I like making unistd.h 
an optional header but then few part of
Wine should include it anyway so perhaps
it doesn't matter.

PS. This patch doesn't add include protection
around the headers added below, I will do that
later if you accept the patch.

---8<---

*** configure

* configure.in:
Added some header files not present on Windows as optional.

Index: wine/configure.in
===================================================================
RCS file: /home/wine/wine/configure.in,v
retrieving revision 1.254
diff -u -u -r1.254 configure.in
--- wine/configure.in	2002/02/04 18:48:18	1.254
+++ wine/configure.in	2002/02/05 15:21:45
@@ -897,6 +897,7 @@
 AC_CHECK_HEADERS(\
 	arpa/inet.h \
 	arpa/nameser.h \
+	dirent.h \
 	elf.h \
 	float.h \
 	ieeefp.h \
@@ -914,6 +915,7 @@
 	netinet/ip.h \
 	netinet/tcp.h \
 	pty.h \
+	pwd.h \
 	resolv.h \
 	sched.h \
 	socket.h \
@@ -940,6 +942,7 @@
 	sys/statfs.h \
 	sys/strtio.h \
 	sys/syscall.h \
+	sys/time.h \
 	sys/user.h \
 	sys/wait.h \
 	sys/v86.h \
@@ -948,6 +951,7 @@
 	sys/vm86.h \
 	syscall.h \
 	ucontext.h \
+	unistd.h \
 )
 AC_HEADER_STAT()
 




More information about the wine-patches mailing list