mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Vitezslav Samel" <samel@mail.cz>
To: linux-kernel@vger.kernel.org
Subject: Re: Problems compiling hdparm with string.h (2.4.x)
Date: Thu, 1 Feb 2001 08:15:44 +0100	[thread overview]
Message-ID: <20010201081544.A29767@pc11.op.pod.cz> (raw)
In-Reply-To: <01020101280700.16535@backfire>
In-Reply-To: <01020101280700.16535@backfire>; from gjasny@wh8.tu-dresden.de on Thu, Feb 01, 2001 at 01:28:07AM +0100

	Hi!

> I've just tried to compile hdparm v3.9 with a vanilla 2.4.1 tree.
> Gcc complained about serveral parse errors in /usr/include/linux/string.h.
> Compiling with an >=ac6 release works fine.
> Why isn't the little string.h fix not included in 2.4.1?
> 
> Regards, Gregor

	Consider this little patch to hdparm-3.9

		Cheers,
				Vita


diff -urN hdparm-3.9.orig/hdparm.c hdparm-3.9/hdparm.c
--- hdparm-3.9.orig/hdparm.c	Sat Feb  5 23:49:30 2000
+++ hdparm-3.9/hdparm.c	Thu Feb  1 08:13:06 2001
@@ -16,7 +16,7 @@
 #include <sys/times.h>
 #include <sys/types.h>
 #include <linux/hdreg.h>
-#include <linux/fs.h>
+#include <sys/mount.h>
 #include <linux/major.h>
 
 #define VERSION "v3.9"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2001-02-01  7:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01  0:28 Gregor Jasny
2001-02-01  7:15 ` Vitezslav Samel [this message]

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=20010201081544.A29767@pc11.op.pod.cz \
    --to=samel@mail.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®