public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix 2.5 compiles w/ networking off
Date: Fri, 3 Jan 2003 13:44:48 +0100	[thread overview]
Message-ID: <20030103124448.GD1360@louise.pinerecords.com> (raw)

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:

                 reply	other threads:[~2003-01-03 12:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030103124448.GD1360@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox