This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
wait.h
- From: "Yaakov (Cygwin Ports)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 23 Apr 2008 14:18:21 -0500
- Subject: wait.h
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
glibc ships a <wait.h> which contains only one line:
#include <sys/wait.h>
I know of at least three packages that #include <wait.h> instead of
<sys/wait.h>. Could such a header please be added to Cygwin (preferably
to both branches)?
Patch attached; I presume this is trivial enough to not require a
copyright assignment.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkgPi30ACgkQpiWmPGlmQSOIMgCg3ZFsz6Zc+nld3dEG+OnNuud9
5oMAn1T1hG2bJJ5JFhziC0w9ffN9aWW2
=ObqW
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/ChangeLog,v
retrieving revision 1.4116
diff -u -r1.4116 ChangeLog
--- ChangeLog 23 Apr 2008 11:19:57 -0000 1.4116
+++ ChangeLog 23 Apr 2008 17:48:09 -0000
@@ -1,3 +1,7 @@
+2008-04-23 Yaakov (Cygwin Ports) <yselkowitz@users.sourceforge.net>
+
+ * include/wait.h: New file.
+
2008-04-23 Corinna Vinschen <corinna@vinschen.de>
* posix.sgml: Add openat, faccessat, fchmodat, fchownat, fstatat,
Index: include/wait.h
===================================================================
RCS file: include/wait.h
diff -N include/wait.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ include/wait.h 23 Apr 2008 17:48:09 -0000
@@ -0,0 +1,16 @@
+/* wait.h
+
+ Copyright 2008 Red Hat, Inc.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+
+#ifndef _WAIT_H
+#define _WAIT_H
+
+#include <sys/wait.h>
+
+#endif /* _WAIT_H */