summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/asm/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/asm/socket.h')
-rw-r--r--winsup/cygwin/include/asm/socket.h1
1 files changed, 1 insertions, 0 deletions
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 */