All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Hesse <mail@earthworm.de>
To: linux-btrfs@vger.kernel.org
Subject: missing include in btrfsck.c
Date: Mon, 31 May 2010 15:45:24 +0200	[thread overview]
Message-ID: <201005311545.25546.mail@earthworm.de> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 213 bytes --]

Hello everybody,

compiling btrfs-progs from current git I get an error in btrfsck.c about 
undefined references. The attached patch adds an include for sys/stat.h which 
fixes the problem for me.

Regards,
Chris

[-- Attachment #2: btrfsck.diff --]
[-- Type: text/x-patch, Size: 320 bytes --]

Signed-off-by: Christian Hesse <mail@earthworm.de>
--- btrfsck.c	2010-05-31 15:24:40.000000000 +0200
+++ btrfsck.c	2010-05-31 15:23:26.000000000 +0200
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 #include "kerncompat.h"
 #include "ctree.h"
 #include "disk-io.h"

                 reply	other threads:[~2010-05-31 13:45 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=201005311545.25546.mail@earthworm.de \
    --to=mail@earthworm.de \
    --cc=linux-btrfs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.