Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-01-17 16:43:47 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-01-17 16:43:47 +0300
commit12ffdde350a85a5bbdfac74dad9a3732ca136088 (patch)
tree29f537f7a9968d9759ff8bd3aaf68daf4d90608a /winsup
parent9f3e3df961bc40853d53785a5bf747d7cb543d26 (diff)
* include/asm/socket.h (SIOGIFINDEX): Define.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/asm/socket.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index beafd1b90..528e753f1 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2007-01-17 Corinna Vinschen <corinna@vinschen.de>
+ * include/asm/socket.h (SIOGIFINDEX): Define.
+
+2007-01-17 Corinna Vinschen <corinna@vinschen.de>
+
* mmap.cc (MapView9x): Note possible uselessness of retrying.
(MapViewNT): Ditto.
(mmap64): Fix pre-reservation to work for non NULL, non MAP_FIXED.
diff --git a/winsup/cygwin/include/asm/socket.h b/winsup/cygwin/include/asm/socket.h
index 637cec294..4541bc850 100644
--- a/winsup/cygwin/include/asm/socket.h
+++ b/winsup/cygwin/include/asm/socket.h
@@ -42,6 +42,7 @@ details. */
#define SIOCGIFMETRIC _IOW('s', 106, struct ifreq) /* get metric */
#define SIOCGIFMTU _IOW('s', 107, struct ifreq) /* get MTU size */
#define SIOCGIFINDEX _IOW('s', 108, struct ifreq) /* get if index */
+#define SIOGIFINDEX SIOCGIFINDEX /* backward compatibility w/ Linux typo. */
#define SOL_SOCKET 0xffff /* options for socket level */