lkml.org 
[lkml]   [2003]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix 2.5 compiles w/ networking off
All right I have to admit I can't think of another cunning simile.
We should compile w/ networking switched off entirely, too.

--
Tomas Szepe <szepe@pinerecords.com>


--- a/net/socket.c 2002-12-08 20:06:42.000000000 +0100
+++ b/net/socket.c 2003-01-03 13:31:20.000000000 +0100
@@ -742,11 +742,11 @@
err = dev_ioctl(cmd, (void *)arg);
} else
#endif /* CONFIG_NET */
-#ifdef WIRELESS_EXT
+#if defined(CONFIG_NET) && defined (WIRELESS_EXT)
if (cmd >= SIOCIWFIRST && cmd <= SIOCIWLAST) {
err = dev_ioctl(cmd, (void *)arg);
} else
-#endif /* WIRELESS_EXT */
+#endif /* CONFIG_NET && WIRELESS_EXT */
switch (cmd) {
case FIOSETOWN:
case SIOCSPGRP:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.018 / U:2.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site